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

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
  }
}