Content CheatsheetCassandra
Content CheatsheetCassandra
Note:
ʒ Depending on how you install Apache Cassandra, binaries may be located in the install directory
(e.g. ~/apache-cassandra-3.9/bin/nodetool) or in your /usr directory (e.g. /usr/bin/nodetool).
For simplicity, the following commands assume that your binaries are in a directory in your $PATH.
ʒ For more info, visit dtdg.co/monitoring-cassandra
Nodetool commands
General monitoring commands Compaction metrics—more info
METRIC DESCRIPTION COMMAND METRIC DESCRIPTION COMMAND
High-level status of cluster nodetool status Compactions in progess, pending compaction tasks nodetool compactionstats
Stats from a specific node nodetool --host <ip_address> info
Stats on all keyspaces and column families nodetool cfstats Thread pool metrics—more info
Stats from a specific keyspace nodetool cfstats <keyspace_name> METRIC DESCRIPTION COMMAND
Stats from a specific column family nodetool cfstats <keyspace_name>.<cf_name> Thread pool statistics, including pending tasks and blocked tasks nodetool tpstats