Java virtual machine counters
You can use the JVM counters that the PMI and TPV collect to monitor JVM performance.
The total, used, and free heap size counters are available without any additional configuration settings. The remaining counters are available only when a Java virtual machine profiler is enabled.
Name Key Description Granularity Type Level Overhead CpuUsage jvmRuntimeModule.cpuUsage Average percent of CPU usage since the last query Per JVM CountStatistic Basic Low FreeMemory jvmRuntimeModule.freeMemory Free memory in the JVM run time Per JVM CountStatistic Extended Low UsedMemory jvmRuntimeModule.usedMemory Used memory in the JVM run time Per JVM CountStatistic Basic Low HeapSize jvmRuntimeModule.totalMemory Total memory in the JVM run time Per JVM BoundedRangeStatistic. The upperBound and lowerBound are not implemented for the Total memory counter. Basic High UpTime jvmRuntimeModule.upTime Amount of time that the JVM is running Per JVM CountStatistic Basic Low GCCount jvmRuntimeModule.numGcCalls Number of garbage collection calls. This counter is not available unless the JVM profiler is enabled.
Per JVM CountStatistic All Max GCIntervalTime jvmRuntimeModule.avgTimeBetweenGcCalls Average garbage collection value in seconds between two garbage collections. This counter is not available unless the JVM profiler is enabled.
Per JVM TimeStatistic All Max GCTime jvmRuntimeModule.avgGcDuration Average duration of a garbage collection. This counter is not available unless the JVM profiler is enabled.
Per JVM TimeStatistic All Max WaitsForLockCount jvmRuntimeModule.numWaitsForLock Number of times that a thread waits for a lock. This counter is not available unless the JVM profiler is enabled.
Per JVM CountStatistic All Max WaitForLockTime jvmRuntimeModule.avgTimeWaitForLock Average time that a thread waits for a lock. This counter is not available unless the JVM profiler is enabled.
Per JVM TimeStatistic All Max ThreadStartedCount jvmRuntimeModule.numThreadsStarted Number of threads started. This counter is not available unless the JVM profiler is enabled.
Per JVM CountStatistic All Max ThreadEndedCount jvmRuntimeModule.numThreadsDead Number of failed threads. This counter is not available unless the JVM profiler is enabled.
Per JVM CountStatistic All Max ObjectAllocateCount jvmRuntimeModule.numObjectsAllocated This counter is deprecated in 6.1.
Number of objects that are allocated in the heap. This counter is not available unless the -XrunpmiJvmpiProfiler option is set when starting the JVM.
From 4.0 to 6.0.x. It is deprecated in 6.1. Per JVM CountStatistic All Max ObjectMovedCount jvmRuntimeModule.numObjectsMoved This counter is deprecated in 6.1.
Number of objects in the heap. This counter is not available unless the -XrunpmiJvmpiProfiler option is set when starting the JVM.
From 4.0 to 6.0.x. It is deprecated in 6.1. Per JVM CountStatistic All Max ObjectFreedCount jvmRuntimeModule.numObjectsFreed This counter is deprecated in 6.1.
Number of objects freed in the heap. This counter is not available unless the -XrunpmiJvmpiProfiler option is set when starting the JVM.
From 4.0 to 6.0.x. It is deprecated in 6.1. Per JVM CountStatistic All Max
The statistics that are gathered through the JVM Tool Interface (JVMTI) is different between the JVM provided by IBM and the Sun HotSpot-based JVM, including Sun HotSpot JVM on Solaris and HP’s JVM for HP-UX.
Name Key Description Granularity Type Level Overhead FreeMemory jvmRuntimeModule.freeMemory Free memory in the JVM run time Per Java Virtual Machine (JVM) CountStatistic Extended Low UsedMemory jvmRuntimeModule.usedMemory Used memory in the JVM run time Per JVM CountStatistic Basic Low HeapSize jvmRuntimeModule.totalMemory Total memory in the JVM run time Per JVM BoundedRangeStatistic. The upperBound and lowerBound are not implemented for the Total memory counter. Basic High UpTime jvmRuntimeModule.upTime Amount of time that the JVM is running Per JVM CountStatistic Basic Low GCCount jvmRuntimeModule.numGcCalls Number of garbage collection calls. This counter is not available unless the -XrunpmiJvmpiProfiler option is set when starting the JVM.
Per JVM CountStatistic All Max GCIntervalTime jvmRuntimeModule.avgTimeBetweenGcCalls Average garbage collection value in seconds between two garbage collections. This counter is not available unless the -XrunpmiJvmpiProfiler option is set when starting the JVM.
Per JVM TimeStatistic All Max GCTime jvmRuntimeModule.avgGcDuration Average duration of a garbage collection. This counter is not available unless the -XrunpmiJvmpiProfiler option is set when starting the JVM.
Per JVM TimeStatistic All Max WaitsForLockCount jvmRuntimeModule.numWaitsForLock Number of times that a thread waits for a lock. This counter is not available unless the -XrunpmiJvmpiProfiler option is set when starting the JVM.
Per JVM CountStatistic All Max WaitForLockTime jvmRuntimeModule.avgTimeWaitForLock Average time that a thread waits for a lock. This counter is not available unless the -XrunpmiJvmpiProfiler option is set when starting the JVM.
Per JVM TimeStatistic All Max ObjectAllocateCount jvmRuntimeModule.numObjectsAllocated Number of objects that are allocated in the heap. This counter is not available unless the -XrunpmiJvmpiProfiler option is set when starting the JVM.
Per JVM CountStatistic All Max ObjectMovedCount jvmRuntimeModule.numObjectsMoved Number of objects in the heap. This counter is not available unless the -XrunpmiJvmpiProfiler option is set when starting the JVM.
Per JVM CountStatistic All Max ObjectFreedCount jvmRuntimeModule.numObjectsFreed Number of objects freed in the heap. This counter is not available unless the -XrunpmiJvmpiProfiler option is set when starting the JVM.
Per JVM CountStatistic All Max ThreadStartedCount jvmRuntimeModule.numThreadsStarted Number of threads started. This counter is not available unless the -XrunpmiJvmpiProfiler option is set when starting the JVM.
Per JVM CountStatistic All Max ThreadEndedCount jvmRuntimeModule.numThreadsDead Number of failed threads. This counter is not available unless the -XrunpmiJvmpiProfiler option is set when starting the JVM.
Per JVM CountStatistic All Max