The Java Virtual Machine (JVM) monitoring feature allows you to monitor critical JVM metrics. The critical metrics include heap metrics, non-heap metrics, direct buffer metrics, memory-mapped buffer metrics, garbage collection (GC) details, and JVM thread count. This topic describes the JVM monitoring feature and how to monitor JVM metrics.
Features
The JVM monitoring feature allows you to monitor the following metrics:
- Instantaneous and accumulated GC details
- Total times of GC
- Times of young GC
- Total time consumption of GC
- Time consumption of young GC
- Heap memory details
- Total heap memory
- Bytes of old heap memory
- Bytes of young heap memory (Survivor)
- Bytes of young heap memory (Eden)
- Non-heap memory
- Submitted bytes of the non-heap memory
- Initial bytes of the non-heap memory
- Maximum bytes of the non-heap memory
- Metaspace
Bytes of metaspace
- Direct buffer
- Total bytes of direct buffer
- Used bytes of direct buffer
- Number of JVM threads
- Total number of threads
- Number of deadlocked threads
- Number of new threads
- Number of blocked threads
- Number of runnable threads
- Number of terminated threads
- Number of threads in timed waiting
- Number of waiting threads