You can use the Java virtual machine (JVM) counters that the Performance Monitoring Infrastructure (PMI) and Tivoli Performance Viewer (TPV) collect to monitor JVM performance.
Except for the counters that are used for total, used, and free heap size, you can find the counters by using the Java virtual machine Profiler Interface (JVMPI). To use JVMPI, you must turn on the monitoring by setting the -XrunpmiJvmpiProfiler command line. See Enabling the Java virtual machine profiler data for more information.
Name | Key | Description | Granularity | Type | Level | Overhead |
FreeMemory | jvmRuntimeModule.freeMemory | The free memory in the JVM run time | Per Java Virtual Machine (JVM) | CountStatistic | Extended | Low |
UsedMemory | jvmRuntimeModule.usedMemory | The used memory in the JVM run time | Per JVM | CountStatistic | Basic | Low |
HeapSize | jvmRuntimeModule.totalMemory | The total memory in the JVM run time | Per JVM | BoundedRangeStatistic. The upperBound and lower bound are not implemented for the Total memory counter. | Basic | High |
UpTime | jvmRuntimeModule.upTime | The amount of time that the JVM is running | Per JVM | CountStatistic | Basic | Low |