企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# cat allocation 原文链接 : [https://www.elastic.co/guide/en/elasticsearch/reference/5.0/cat-allocation.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.0/cat-allocation.html) 译文链接 : [http://www.apache.wiki/display/Elasticsearch/cat+allocation](http://www.apache.wiki/display/Elasticsearch/cat+allocation) 贡献者 : [那伊抹微笑](/display/~wangyangting) **allocation** 提供了每个节点分片的分配数量以及它们所使用的硬盘空间大小的一份快照。 ``` curl -XGET 'localhost:9200/_cat/allocation?v&pretty' ``` 响应可能如下 :  ``` shards disk.indices disk.used disk.avail disk.total disk.percent host ip node 5 260b 47.3gb 43.4gb 100.7gb 46 127.0.0.1 127.0.0.1 CSUXak2 ``` 在这里我们我可看到,每一个节点已经被分配了一个分片,并且它们所使用的硬盘空间大小差不多。