Gets node-level JVM info

GET /_node/jvm

Show node-level JVM stats, such as the JVM process id, version, VM info, memory usage, and info about garbage collectors.

Query parameters

  • pretty boolean

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

Responses

  • 200 application/json

    Indicates a successful call

    Hide response attribute Show response attribute object
    • jvm object
      Hide jvm attributes Show jvm attributes object
      • pid integer
      • version string
      • vm_name string
      • vm_version string
      • vm_vendor string
      • start_time_in_millis integer
      • mem object
        Hide mem attributes Show mem attributes object
        • heap_init_in_bytes integer
        • heap_max_in_bytes integer
        • non_heap_init_in_bytes integer
        • non_heap_max_in_bytes integer
      • gc_collectors array[string]
GET /_node/jvm
curl \ --request GET 'http://api.example.com/_node/jvm' \ --user "username:password"
Response examples (200)
{ "jvm": { "mem": { "heap_max_in_bytes": 1073741824, "heap_init_in_bytes": 1073741824, "non_heap_max_in_bytes": 0, "non_heap_init_in_bytes": 2555904 }, "pid": 84013, "version": "21.0.4", "vm_name": "OpenJDK 64-Bit Server VM", "vm_vendor": "Eclipse Adoptium", "vm_version": "21.0.4", "gc_collectors": [ "G1 Young Generation", "G1 Concurrent GC", "G1 Old Generation" ], "start_time_in_millis": 1630980000000 } }