Cassandra 常用命令之 nodetool info
nodetool info 提供节点信息,如负载和正常运行时间。感觉是status的详细版。
基本格式
nodetool <options> info -T | --tokens
选项
Short | Long | Description |
---|---|---|
-h
|
--host
|
Hostname or IP address. |
-p
|
--port
|
Port number. |
-pwf
|
--password-file
|
Password file path. |
-pw
|
--password
|
Password. |
-u
|
--username
|
Remote JMX agent username. |
-T
|
--tokens
|
Show all tokens. |
--
|
Separates an option from an argument that could be mistaken for a option. |
提供节点信息,包括令牌和磁盘上的存储(负载)信息,时间开始(生成),正常运行时间,堆内存使用情况。
Load:存储负载
Generation No:开始时间(seconds)
Uptime (seconds):正常运行时长
Heap Memory (MB)/Off Heap Memory (MB):堆内存使用情况
其他的不用翻译了,大家肯定能看得懂。
摘自:http://docs.datastax.com/en/cassandra/3.0/cassandra/tools/toolsInfo.html