mirror of https://github.com/apache/cassandra
51 lines
1.9 KiB
Plaintext
51 lines
1.9 KiB
Plaintext
NAME
|
|
nodetool status - Print cluster information (state, load, IDs, ...)
|
|
|
|
SYNOPSIS
|
|
nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
|
|
[(-pw <password> | --password <password>)]
|
|
[(-pwf <passwordFilePath> | --password-file <passwordFilePath>)]
|
|
[(-u <username> | --username <username>)] status
|
|
[(-o <sort_order> | --order <sort_order>)] [(-pp | --print-port)]
|
|
[(-r | --resolve-ip)] [(-s <sort> | --sort <sort>)] [--] <keyspace>
|
|
|
|
OPTIONS
|
|
-h <host>, --host <host>
|
|
Node hostname or ip address
|
|
|
|
-o <sort_order>, --order <sort_order>
|
|
Sorting order: 'asc' for ascending, 'desc' for descending.
|
|
|
|
-p <port>, --port <port>
|
|
Remote jmx agent port number
|
|
|
|
-pp, --print-port
|
|
Operate in 4.0 mode with hosts disambiguated by port number
|
|
|
|
-pw <password>, --password <password>
|
|
Remote jmx agent password
|
|
|
|
-pwf <passwordFilePath>, --password-file <passwordFilePath>
|
|
Path to the JMX password file
|
|
|
|
-r, --resolve-ip
|
|
Show node domain names instead of IPs
|
|
|
|
-s <sort>, --sort <sort>
|
|
Sort by one of 'ip', 'host', 'load', 'owns', 'id', 'rack', 'state'
|
|
or 'token'. Default ordering is ascending for 'ip', 'host', 'id',
|
|
'token', 'rack' and descending for 'load', 'owns', 'state'. Sorting
|
|
by token is possible only when cluster does not use vnodes. When
|
|
using vnodes, default sorting is by id otherwise by token.
|
|
|
|
-u <username>, --username <username>
|
|
Remote jmx agent username
|
|
|
|
--
|
|
This option can be used to separate command-line options from the
|
|
list of argument, (useful when arguments might be mistaken for
|
|
command-line options
|
|
|
|
<keyspace>
|
|
The keyspace name
|