ElasticSearch之cat nodeattrs API

命令样例如下:

curl -X GET "https://localhost:9200/_cat/nodeattrs?v=true&pretty" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"

执行结果输出如下:

node host ip attr value
jackie-ubuntu 127.0.0.1 127.0.0.1 ml.allocated_processors 4
jackie-ubuntu 127.0.0.1 127.0.0.1 ml.allocated_processors_double 4.0
jackie-ubuntu 127.0.0.1 127.0.0.1 ml.max_jvm_size 2021654528
jackie-ubuntu 127.0.0.1 127.0.0.1 ml.config_version 11.0.0
jackie-ubuntu 127.0.0.1 127.0.0.1 xpack.installed true
jackie-ubuntu 127.0.0.1 127.0.0.1 transform.config_version 10.0.0
jackie-ubuntu 127.0.0.1 127.0.0.1 ml.machine_memory 4040327168

查看帮助,命令如下:

curl -X GET "https://localhost:9200/_cat/nodeattrs?v=true&help=true&pretty" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"

执行结果输出如下:

node | name | node name
id | id,nodeId | unique node id
pid | p | process id
host | h | host name
ip | i | ip address
port | po | bound transport port
attr | attr.name | attribute description
value | attr.value | attribute value

相关资料

posted @   jackieathome  阅读(25)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
点击右上角即可分享
微信分享提示