nodetool netstats

Provides network information about the host.

Synopsis

nodetool <options> netstats -H

Tarball and Installer No-Services path:

<installation_location>/resources/cassandra/bin
Connection options
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.

-H

--human-readable

Display bytes in human readable form: KiB (kibibyte), MiB (mebibyte), GiB (gibibyte), TiB (tebibyte).

--

Separates an option from an argument that could be mistaken for an option.

Description

The default host is the connected host if the user does not include a host name or IP address in the command. The output includes the following information:

  • JVM settings

  • Mode

    The operational mode of the node: JOINING, LEAVING, NORMAL, DECOMMISSIONED, CLIENT

  • Read repair statistics

  • Attempted

    The number of successfully completed read repair operations.

  • Mismatch (blocking)

    The number of read repair operations since server restart that blocked a query.

  • Mismatch (background)

    The number of read repair operations since server restart performed in the background.

  • Pool name

    Information about client read and write requests by thread pool size.

  • Active, pending, and completed number of commands and responses

Example

Get the network information of the local node:

nodetool netstats

The output is:

Mode: NORMAL
Not sending any streams.
Read Repair Statistics:
Attempted: 0
Mismatch (Blocking): 1
Mismatch (Background): 1
Pool Name                    Active   Pending      Completed   Dropped
Large messages                  n/a         0              0         0
Small messages                  n/a         0          23295         0
Gossip messages                 n/a         0        1853117         0

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com