Skip to content

AxonOps — AI-Native Control Plane for Open Source Data Platforms

nodetool info

Displays detailed information about a single Cassandra node including memory usage, disk capacity, uptime, and operational statistics.


Terminal window
nodetool [connection_options] info

See connection options for connection options.

nodetool info provides comprehensive information about the connected node:

  • Node identification (ID, tokens, datacenter, rack)
  • Memory usage (heap, off-heap)
  • Disk capacity and usage
  • Uptime and exception count
  • Cache statistics

This command is essential for understanding a single node's resource utilization.


ID : a1b2c3d4-e5f6-7890-abcd-ef1234567890
Gossip active : true
Native Transport active: true
Load : 256.12 GiB
Generation No : 1699574400
Uptime (seconds) : 864000
Heap Memory (MB) : 4096.00 / 8192.00
Off Heap Memory (MB) : 512.45
Data Center : dc1
Rack : rack1
Exceptions : 0
Key Cache : entries 125000, size 256 MiB, capacity 512 MiB, 98534221 hits, 99123456 requests, 0.994 recent hit rate, 14400 save period in seconds
Row Cache : entries 0, size 0 bytes, capacity 0 bytes, 0 hits, 0 requests, NaN recent hit rate, 0 save period in seconds
Counter Cache : entries 0, size 0 bytes, capacity 0 bytes, 0 hits, 0 requests, NaN recent hit rate, 7200 save period in seconds
Network Cache : size 64 MiB, overflow size: 0 bytes, capacity 128 MiB
Percent Repaired : 98.45%
Token : (invoke with -T/--tokens to see all 256 tokens)

FieldDescription
IDUnique UUID for this node (Host ID)
Data CenterDatacenter name from snitch configuration
RackRack name from snitch configuration
Generation NoGossip generation number (timestamp-based, increases on restart)
TokenToken(s) owned by this node
FieldDescription
Gossip activeWhether gossip protocol is enabled
Native Transport activeWhether CQL native protocol is accepting connections
UptimeTime since Cassandra started (in seconds)
FieldDescription
LoadTotal data size on disk (compressed)
Uncompressed loadTotal data size on disk before compression
Heap MemoryUsed / Maximum JVM heap memory
Off Heap MemoryMemory used outside JVM heap (bloom filters, compression metadata, etc.)
FieldDescription
ExceptionsCount of exceptions since startup
Percent RepairedPercentage of data that has been repaired (incremental repair)
FieldDescription
Key CachePartition key location cache
Row CacheCached row data
Counter CacheCounter value cache
Chunk CacheFile chunk cache (when enabled)
Network CacheBuffer cache for network operations

The following fields appear when a node is bootstrapping or decommissioning:

FieldDescription
Bootstrap stateCurrent bootstrap state (e.g., IN_PROGRESS, COMPLETED)
Bootstrap failedIndicates if bootstrap failed
DecommissioningWhether decommission is in progress
Decommission failedIndicates if decommission failed

OptionDescription
-T, --tokensDisplay all tokens owned by this node
Terminal window
nodetool info -T

Outputs all 256 (or configured num_tokens) tokens.


Heap Memory (MB) : 6144.00 / 8192.00

Heap Usage

  • 75-85% used: Normal operating range
  • >90% used: Risk of GC pressure, consider increasing heap or reducing load
  • <50% used: Heap may be over-provisioned
Off Heap Memory (MB) : 512.45

Off-heap memory includes:

  • Bloom filters
  • Compression metadata
  • Index summaries
  • Native memory for Netty buffers
Key Cache: ... 0.994 recent hit rate
Hit RateAssessment
> 0.95Excellent
0.85 - 0.95Good
0.70 - 0.85Acceptable
< 0.70Consider increasing cache size

Key Cache Importance

The key cache stores partition key locations, avoiding disk seeks. A high hit rate significantly improves read performance.

Uptime (seconds) : 864000
  • 864000 seconds = 10 days
  • Short uptime after expected restart: Normal
  • Unexpected short uptime: Investigate restarts in logs
Exceptions : 0

Non-Zero Exceptions

Exceptions indicate errors that may affect operations:

  • Check system.log for exception details
  • Common causes: disk errors, network issues, OOM
  • Counter resets on restart
Percent Repaired : 98.45%
PercentageAssessment
> 95%Good repair compliance
80-95%Repairs may be falling behind
< 80%Urgent: Review repair schedule

Incremental Repair Only

This metric only applies when using incremental repair. With full repair, this may show 0% or inaccurate values.


Terminal window
nodetool info

Quick check of node health indicators.

Terminal window
nodetool info | grep "Heap Memory" | awk -F'[:/]' '{print "Used: "$2" Max: "$3}'
Terminal window
exceptions=$(nodetool info | grep "Exceptions" | awk '{print $3}')
if [ "$exceptions" -gt 0 ]; then
echo "WARNING: $exceptions exceptions logged"
fi
Terminal window
for host in 192.168.1.101 192.168.1.102 192.168.1.103; do
echo "=== $host ==="
ssh "$host" "nodetool info | grep -E "(Load|Heap|Exceptions|Percent Repaired)""
done

ScenarioPurpose
Daily health checkVerify memory, cache, and exception status
After restartsConfirm node came up correctly
Before maintenanceCheck node state before operations
Performance investigationReview cache hit rates and memory
Capacity planningAssess resource utilization

Limitations

  • For cluster-wide view: Use nodetool status
  • For continuous monitoring: Use metrics collection
  • For historical trends: Use AxonOps
  • For detailed table stats: Use nodetool tablestats

Native Transport active: false

CQL connections will fail. Enable with:

Terminal window
nodetool enablebinary

Or investigate why it was disabled (resource exhaustion, manual action).

Gossip active : false

Gossip Disabled

Node is isolated from cluster. Enable immediately:

Terminal window
nodetool enablegossip

Check logs for why gossip was disabled.

Large off-heap memory usage may indicate:

  • Many tables/keyspaces (bloom filters per SSTable)
  • Large partition keys (more index memory)
  • Need to tune bloom filter settings

CommandRelationship
statusCluster-wide status overview
tpstatsThread pool statistics
tablestatsPer-table statistics
gcstatsGarbage collection details
gossipinfoGossip protocol state