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

相关资料

相关推荐
j_xxx404_16 小时前
面试官灵魂拷问:Linux软链接与硬链接到底有什么区别?(附底层Inode级深度图解)
linux·运维·服务器
lThE ANDE1 天前
最完整版Linux安装Redis(保姆教程)
linux·运维·redis
郝亚军1 天前
ubuntu通过samba,让win11可以访问其共享文件夹
linux·服务器·ubuntu
一个人旅程~1 天前
旧电脑的“拯救者”?Linux Mint20.3是怎样适配软件硬件以及兼顾兼容与性能的平衡的?
linux·经验分享·电脑
小夏子_riotous1 天前
Docker学习路径——3、常用命令
linux·运维·服务器·学习·docker·容器·centos
其实防守也摸鱼1 天前
无线网络安全---WLAN相关安全工具--kali(理论附题目)
linux·安全·web安全·学习笔记·kali·命令模式·wlan
uesowys1 天前
CentOS Linux安装部署OpenClaw
linux·centos·安装部署openclaw
IMPYLH1 天前
Linux 的 rm 命令
linux·运维·服务器·网络·bash
YIN_尹1 天前
【Linux系统编程】进程地址空间
linux·c++
代码中介商1 天前
手把手教你Linux 打包压缩与 gcc 编译详解
linux·运维·服务器·编译·打包·压缩