nodetool netstats
Provides network information about the host.
Provides network information about the host.
Synopsis
nodetool <options> netstats -H
Short | Long | Description |
---|---|---|
-h |
--host |
Hostname or IP address |
-p |
--port |
Port number |
-pwf |
--password-file |
Password file path |
-pw |
--password |
Password |
-u |
--username |
User name |
-- |
Separates an option from an argument that could be mistaken for a option. |
- H converts bytes to a human readable form: kilobytes (KB), megabytes (MB), gigabytes (GB), or terabytes (TB). (Cassandra 2.1.1)
Description
- JVM settings
- Mode
The possible operational modes for the node are: 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.
-
Active, pending, and completed number of commands and responses
Example
Get the network information for a node 10.171.147.128:
nodetool -h 10.171.147.128 netstats
The output is:
Mode: NORMAL
Not sending any streams.
Read Repair Statistics:
Attempted: 0
Mismatch (Blocking): 0
Mismatch (Background): 0
Pool Name Active Pending Completed
Commands n/a 0 1156
Responses n/a 0 2750