What You’ll Learn: Learn about the nodetool utility, which is a command line interface for Cassandra, that can be used to help manage a cluster, and basic commands.



Lets take a look at the health of your instance. From the command prompt in the root console, type:


# nodetool status


From here we can see that the instance (node) is up and in a normal running state. Because it is not part of a cluster, it effectively owns 100% of the data.

If we type:


# nodetool info


We get more indepth information on the configuration of the node, including uptime, heap size, and gossip and thrift activity. Using nodetool tpstats (below) displays the number of active, pending and completed tasks for each of the thread pools that Cassandra uses for each stage of operation.


# nodetool tpstats