Get JVM statistics
Server:
/
- GET /_node/stats/jvm
Get threads count, garbage collators(GC) and memory details.
Query Parameters
-
prettyboolean If you append
?pretty=trueto the request, the JSON returned will be pretty formatted. Use it for debugging only!
Response
A JSON object containing jvm statistics.
-
jvmobject -
threadsobject -
countinteger -
The number of active JVM threads.
-
peak_countinteger -
The peak number of active JVM threads.
-
memobject -
heap_used_percentinteger -
The percentage of heap memory used.
-
heap_committed_in_bytesinteger -
The committed heap memory in bytes.
-
heap_max_in_bytesinteger -
The maximum heap memory in bytes.
-
heap_used_in_bytesinteger -
The used heap memory in bytes.
-
non_heap_used_in_bytesinteger -
The used non-heap memory in bytes.
-
non_heap_committed_in_bytesinteger -
The committed non-heap memory in bytes.
-
poolsJVMMemoryPools -
survivorJVMMemoryPool -
peak_used_in_bytesinteger -
used_in_bytesinteger -
peak_max_in_bytesinteger -
max_in_bytesinteger -
committed_in_bytesinteger -
oldJVMMemoryPool -
peak_used_in_bytesinteger -
used_in_bytesinteger -
peak_max_in_bytesinteger -
max_in_bytesinteger -
committed_in_bytesinteger -
youngJVMMemoryPool -
peak_used_in_bytesinteger -
used_in_bytesinteger -
peak_max_in_bytesinteger -
max_in_bytesinteger -
committed_in_bytesinteger -
gcobject -
collectorsJVMGCCollectors -
oldJVMGCCollector -
collection_time_in_millisinteger -
collection_countinteger -
youngJVMGCCollector -
collection_time_in_millisinteger -
collection_countinteger -
uptime_in_millisinteger -
The JVM uptime in milliseconds.