<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # Nodes Info 原文鏈接 : [https://www.elastic.co/guide/en/elasticsearch/reference/5.0/cluster-nodes-info.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.0/cluster-nodes-info.html) 譯文鏈接 : [http://www.apache.wiki/display/Elasticsearch/Nodes+Info](http://www.apache.wiki/display/Elasticsearch/Nodes+Info) 貢獻者 : [那伊抹微笑](/display/~wangyangting) **cluster nodes info**(集群節點信息)**API** 可以獲取集群中一個或多個節點的信息。 ``` curl -XGET 'http://localhost:9200/_nodes' curl -XGET 'http://localhost:9200/_nodes/nodeId1,nodeId2' ``` 第一個命令獲取了集群中所有節點的統計信息。 第二個只選擇獲取了?**nodeId1**?和?**nodeId2**?的節點的統計信息。 所有節點選擇的選項在[這里](https://www.elastic.co/guide/en/elasticsearch/reference/5.0/cluster.html#cluster-nodes)有更詳細的說明。 默認情況下,它只節點所有屬性和核心配置 :? | 屬性/配置 | 描述 | | --- | --- | | build_hash | Short hash of the last git commit in this release. | | host | The node’s host name. | | http_address | Host and port where primary HTTP connections are accepted. | | ip | The node’s IP address. | | name | The node’s name. | | total_indexing_buffer | Total heap allowed to be used to hold recently indexed documents before they must be written to disk. This size is a shared pool across all shards on this node, and is controlled by?[Indexing Buffer settings](https://www.elastic.co/guide/en/elasticsearch/reference/5.0/indexing-buffer.html "Indexing Buffer"). | | total_indexing_buffer_in_bytes | Same as?`total_indexing_buffer`, but expressed in bytes. | | transport_address | Host and port where transport HTTP connections are accepted. | | version | Elasticsearch version running on this node. | 它也可以只獲取?`**settings**,``**os**,``**process**,``**jvm**,``**thread_pool**,``**transport**,``**http**,``**plugins**,`**`ingest`**和?`**indices**的信息。` ``` curl -XGET 'http://localhost:9200/_nodes/process' curl -XGET 'http://localhost:9200/_nodes/_all/process' curl -XGET 'http://localhost:9200/_nodes/nodeId1,nodeId2/jvm,process' # same as above curl -XGET 'http://localhost:9200/_nodes/nodeId1,nodeId2/info/jvm,process' curl -XGET 'http://localhost:9200/_nodes/nodeId1,nodeId2/_all ``` 可以設置 **_all** 標記以返回所有的信息 - 或者您也可以簡單的忽略它。 ## Operating System information(操作系統信息) 可以設置 **os**?標記以獲取與操作系統有關的信息 :? | 標記 | 描述 | | --- | --- | | os.refresh_interval_in_millis | Refresh interval for the OS statistics | | os.name | Name of the operating system (ex: Linux, Windows, Mac OS X) | | os.arch | Name of the JVM architecture (ex: amd64, x86) | | os.version | Version of the operating system | | os.available_processors | Number of processors available to the Java virtual machine | | os.allocated_processors | The number of processors actually used to calculate thread pool size. This number can be set with the?`processors`?setting of a node and defaults to the number of processors reported by the OS. In both cases this number will never be larger than 32. | ## Process information(進程信息) 可以設置 **process?**標記以獲取與當前正在運行的進程的有關的信息 :? | 標記 | 描述 | | --- | --- | | process.refresh_interval_in_millis | Refresh interval for the process statistics | | process.id | Process identifier (PID) | | process.mlockall | Indicates if the process address space has been successfully locked in memory | ## Plugins information(插件信息) **`plugins`**- 如果被設置,那么結果將包含關于每一個節點已加載的插件的詳細信息 :? * **`name`**: plugin name * **`description`**: plugin description if any * **`site`**:?`true`?if the plugin is a site plugin * **`jvm`**:?`true`?if the plugin is a plugin running in the JVM * **`url`**: URL if the plugin is a site plugin 其結果看起來和下面相似 :? ``` { "cluster_name" : "test-cluster-MacBook-Air-de-David.local", "nodes" : { "hJLXmY_NTrCytiIMbX4_1g" : { "name" : "node4", "transport_address" : "inet[/172.18.58.139:9303]", "hostname" : "MacBook-Air-de-David.local", "version" : "0.90.0.Beta2-SNAPSHOT", "http_address" : "inet[/172.18.58.139:9203]", "plugins" : [ { "name" : "test-plugin", "description" : "test-plugin description", "site" : true, "jvm" : false }, { "name" : "test-no-version-plugin", "description" : "test-no-version-plugin description", "site" : true, "jvm" : false }, { "name" : "dummy", "description" : "No description found for dummy.", "url" : "/_plugin/dummy/", "site" : false, "jvm" : true } ] } } } ``` ## Ingest information(攝取數據信息) **ingest** -?如果被設置,那么結果將包含關于每一個節點可用的處理器的詳細信息 :? * **`type`**: the processor type 其結果看起來和下面相似 :? ``` { "cluster_name": "elasticsearch", "nodes": { "O70_wBv6S9aPPcAKdSUBtw": { "ingest": { "processors": [ { "type": "date" }, { "type": "uppercase" }, { "type": "set" }, { "type": "lowercase" }, { "type": "gsub" }, { "type": "convert" }, { "type": "remove" }, { "type": "fail" }, { "type": "foreach" }, { "type": "split" }, { "type": "trim" }, { "type": "rename" }, { "type": "join" }, { "type": "append" } ] } } } } ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看