curl -X GET "localhost:9200/_cat/nodes?v&pretty" ip heap.percent ram.percent cpu load_1m load_5m load_15m node.role master name 172.18.0.4529760.020.110.28 mdi - es7_02 172.18.0.5579760.020.110.28 mdi * es7_01
heap.percent 堆内存占用百分比
ram.percent 内存占用百分比
cpu CPU占用百分比
master*表示节点是集群中的主节点
name 节点名
2) 分片信息
1 2 3 4 5 6 7 8
curl -X GET "localhost:9200/_cat/shards?v&pretty" index shard prirep state docs store ip node .monitoring-es-7-2019.08.30 0 p STARTED 21333 11.8mb 172.18.0.5 es7_01 .monitoring-es-7-2019.08.30 0 r STARTED 21333 11.8mb 172.18.0.4 es7_02 goods-index 0 p STARTED 1 2.5mb 172.18.0.5 es7_01 goods-index 0 r STARTED 1 2.5mb 172.18.0.4 es7_02 .kibana_1 0 p STARTED 4 22.4kb 172.18.0.5 es7_01 .kibana_1 0 r STARTED 4 22.4kb 172.18.0.4 es7_02
index 索引名称
shard 分片序号
prirepp表示该分片是主分片, r 表示该分片是复制分片
store 该分片占用存储空间
node 所属节点节点名
docs 分片存放的文档数
3) 索引信息
1 2 3 4 5
curl -X GET "localhost:9200/_cat/indices?v" health status index uuid pri rep docs.count docs.deleted store.size pri.store.size green open goods-index NhqSRJWUQiu46tdOKol4wA 1 1 1 7018 5mb 2.5mb green open .monitoring-es-7-2019.08.30 lVDNFDVdSXqqrn8CdI_XGg 1 1 21333 18920 23.6mb 11.8mb green open .kibana_1 rvSlNVjJTsus80klzU19jQ 1 1 4 1 44.9kb 22.4kb
This is copyright.