Get JVM statistics

Base URL
/
  • GET /_node/stats/jvm
Auth optional

Get threads count, garbage collators(GC) and memory details.

Query parameters

pretty boolean

If you append ?pretty=true to the request, the JSON returned will be pretty formatted. Use it for debugging only!

Response

A JSON object containing jvm statistics.

application/json
jvm object
threads object
count integer

The number of active JVM threads.

peak_count integer

The peak number of active JVM threads.

mem object
heap_used_percent integer

The percentage of heap memory used.

heap_committed_in_bytes integer · format: int64

The committed heap memory in bytes.

heap_max_in_bytes integer · format: int64

The maximum heap memory in bytes.

heap_used_in_bytes integer · format: int64

The used heap memory in bytes.

non_heap_used_in_bytes integer · format: int64

The used non-heap memory in bytes.

non_heap_committed_in_bytes integer · format: int64

The committed non-heap memory in bytes.

pools object
survivor object
peak_used_in_bytes integer · format: int64
used_in_bytes integer · format: int64
peak_max_in_bytes integer · format: int64
max_in_bytes integer · format: int64
committed_in_bytes integer · format: int64
old object
peak_used_in_bytes integer · format: int64
used_in_bytes integer · format: int64
peak_max_in_bytes integer · format: int64
max_in_bytes integer · format: int64
committed_in_bytes integer · format: int64
young object
peak_used_in_bytes integer · format: int64
used_in_bytes integer · format: int64
peak_max_in_bytes integer · format: int64
max_in_bytes integer · format: int64
committed_in_bytes integer · format: int64
gc object
collectors object
old object
collection_time_in_millis integer · format: int64
collection_count integer
young object
collection_time_in_millis integer · format: int64
collection_count integer
uptime_in_millis integer · format: int64

The JVM uptime in milliseconds.

Base URL
/