Java virtual machine counters
Use the Java virtual machine (JVM) counters that the PMI and TPV collect to monitor JVM performance.
Total, used, and free heap size counters are available without any additional settings. The remaining counters are available only when a Java virtual machine profiler is enabled.
Counter definitions
Name Key Description Granularity Type Level Overhead ID FreeMemory jvmRuntimeModule.freeMemory Free memory in the JVM run time Per JVM CountStatistic Extended Low 2 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 1 ProcessCpuUsage jvmRuntimeModule.cpuUsage The CPU Usage (in percent) of the Java virtual machine. Per JVM CountStatistic Basic Low 5 UpTime jvmRuntimeModule.upTime The amount of time that the JVM is running Per JVM CountStatistic Basic Low 4 UsedMemory jvmRuntimeModule.usedMemory The used memory in the JVM run time Per JVM CountStatistic Basic Low 3 GCcount jvmRuntimeModule.numGcCalls Number of garbage collection calls. This counter is not available unless the JVM profiler is enabled.
Per JVM CountStatistic All Max 11 GCIntervalTime jvmRuntimeModule.avgTimeBetweenGcCalls The 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 12 GCTime jvmRuntimeModule.avgGcDuration The average duration of a garbage collection. This counter is not available unless the JVM profiler is enabled.
Per JVM TimeStatistic All Max 13 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 19 WaitForLockTime jvmRuntimeModule.avgTimeWaitForLock The 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 20 ThreadStartedCount jvmRuntimeModule.numThreadsStarted Number of threads started. This counter is not available unless the JVM profiler is enabled.
Per JVM CountStatistic All Max 17 ThreadEndedCount jvmRuntimeModule.numThreadsDead Number of failed threads. This counter is not available unless the JVM profiler is enabled.
Per JVM CountStatistic All Max 18 ObjectAllocateCount jvmRuntimeModule.numObjectsAllocated This counter only applies to Vs 4.0 - 6.0.x. It was deprecated in V6.1.depfeat
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 14 ObjectMovedCount jvmRuntimeModule.numObjectsMoved Deprecated feature: This counter only applies to Vs 4.0 - 6.0.x. It was deprecated in V6.1.depfeat
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 16 ObjectFreedCount jvmRuntimeModule.numObjectsFreed Deprecated feature: This counter only applies to Vs 4.0 - 6.0.x. It was deprecated in V6.1.depfeat
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 15 The statistics that are gathered through the JVM Tool Interface (JVMTI) are different for the JVM provided by IBM than the statistics that are gathered are for the Sun HotSpot-based JVM, including Sun HotSpot JVM on Solaris and the JVM provided by Hewlett-Packard for HP-UX.