ElasticSearch之cat nodeattrs API

命令样例如下:

shell 复制代码
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"

执行结果输出如下:

shell 复制代码
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

查看帮助,命令如下:

shell 复制代码
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"

执行结果输出如下:

shell 复制代码
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

相关资料

相关推荐
Johny_Zhao3 小时前
OpenClaw安装部署教程
linux·人工智能·ai·云计算·系统运维·openclaw
洛森唛10 小时前
Elasticsearch DSL 查询语法大全:从入门到精通
后端·elasticsearch
chlk1232 天前
Linux文件权限完全图解:读懂 ls -l 和 chmod 755 背后的秘密
linux·操作系统
舒一笑2 天前
Ubuntu系统安装CodeX出现问题
linux·后端
改一下配置文件2 天前
Ubuntu24.04安装NVIDIA驱动完整指南(含Secure Boot解决方案)
linux
深紫色的三北六号2 天前
Linux 服务器磁盘扩容与目录迁移:rsync + bind mount 实现服务无感迁移(无需修改配置)
linux·扩容·服务迁移
SudosuBash2 天前
[CS:APP 3e] 关于对 第 12 章 读/写者的一点思考和题解 (作业 12.19,12.20,12.21)
linux·并发·操作系统(os)
Elasticsearch3 天前
如何使用 Agent Builder 排查 Kubernetes Pod 重启和 OOMKilled 事件
elasticsearch
哈基咪怎么可能是AI3 天前
为什么我就想要「线性历史 + Signed Commits」GitHub 却把我当猴耍 🤬🎙️
linux·github
十日十行3 天前
Linux和window共享文件夹
linux