查询段信息
代码语言:javascript复制curl 'http://localhost:9200/_cat/segments?v'太长就不列出来了
关掉一个节点
代码语言:javascript复制curl -XPOST 'http://localhost:9200/_cluster/nodes/_local/_shutdown'
curl -XPOST 'http://localhost:9200/_cluster/nodes/nodeId1,nodeId2/_shutdown'
curl -XPOST 'http://localhost:9200/_cluster/nodes/_master/_shutdown'关掉所有节点
代码语言:javascript复制curl -XPOST 'http://localhost:9200/_shutdown'
curl -XPOST 'http://localhost:9200/_cluster/nodes/_shutdown'
curl -XPOST 'http://localhost:9200/_cluster/nodes/_all/_shutdown'命令汇总
curl localhost:9200/_cat/health?vcurl localhost:9200/_cat/nodes?vcurl 'localhost:9200/_cat/allocation?v'curl localhost:9200/_cat/indices?vcurl 'localhost:9200/_cat/fielddata?v'curl 'localhost:9200/_cat/master?v'curl 'localhost:9200/_cat/pending_tasks?v'curl 'localhost:9200/_cat/plugins?v'curl 'localhost:9200/_cat/recovery?v'curl localhost:9200/_cat/thread_pool?vcurl localhost:9200/_cat/shards?v
原文地址http://soft.dog/2015/09/08/elasticsearch-command/


