Java virtual machine counters

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.

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. See Enabling the Java virtual machine profiler data for more information on this task.

Counter definitions

Name Key Description Granularity Type Level Overhead ID
FreeMemory jvmRuntimeModule.freeMemory The free memory in the JVM run time Per JVM CountStatistic Extended Low 2
HeapSize jvmRuntimeModule.totalMemory The 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
ProessCpuUsage jvmRuntimeModule.cpuUsage The average percent of central processing unit (CPU) usage since the last query 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 The number of garbage collection calls. This counter is not available unless the JVM profiler is enabled. See Enabling the JVM profiler data. Per JVM CountStatistic All Max 11
GCIntervalTime jvmRuntimeModule.avgTimeBetweenGcCalls The average garbage collection value in milliseconds between two garbage collections. This counter is not available unless the JVM profiler is enabled. See Enabling the JVM profiler data. Per JVM TimeStatistic All Max 12
GCTime jvmRuntimeModule.avgGcDuration The average time duration in milliseconds of a garbage collection. This counter is not available unless the JVM profiler is enabled. See Enabling the JVM profiler data. Per JVM TimeStatistic All Max 13
WaitsForLockCount jvmRuntimeModule.numWaitsForLock The number of times that a thread waits for a lock. This counter is not available unless the JVM profiler is enabled. See Enabling the JVM profiler data. 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. See Enabling the JVM profiler data. Per JVM TimeStatistic All Max 20
ThreadStartedCount jvmRuntimeModule.numThreadsStarted The number of threads started. This counter is not available unless the JVM profiler is enabled. See Enabling the JVM profiler data. Per JVM CountStatistic All Max 17
ThreadEndedCount jvmRuntimeModule.numThreadsDead The number of failed threads. This counter is not available unless the JVM profiler is enabled. See Enabling the JVM profiler data. Per JVM CountStatistic All Max 18
ObjectAllocateCount jvmRuntimeModule.numObjectsAllocated
Deprecated feature Deprecated feature: This counter only applies to Versions 4.0 - 6.0.x. It is deprecated in Version 6.1.depfeat
The 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 Deprecated feature: This counter only applies to Versions 4.0 - 6.0.x. It is deprecated in Version 6.1.depfeat
The 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
Note: This counter only applies to Versions 4.0 - 6.0.x. It is deprecated in Version 6.1.
The 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
Avoid trouble Avoid trouble: 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 the JVM provided by Hewlett-Packard for HP-UX. gotcha



Related tasks
Enabling the Java virtual machine profiler data
Related reference
PMI data organization
Reference topic Reference topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 30, 2013 8:21:57 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-express-iseries&topic=rprf_datacounter4
File name: rprf_datacounter4.html