+

Search Tips   |   Advanced Search

Java virtual machine counters

Use the 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.


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
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 The 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 milliseconds 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 time duration in milliseconds of a garbage collection. This counter is not available unless the JVM profiler is enabled. 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. 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 The number of threads started. This counter is not available unless the JVM profiler is enabled. 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. Per JVM CountStatistic All Max 18
ObjectAllocateCount jvmRuntimeModule.numObjectsAllocated

Deprecated feature: This counter only applies to Versions 4.0 - 6.0.x. It was deprecated in v6.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: This counter only applies to Versions 4.0 - 6.0.x. It was deprecated in v6.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

Deprecated feature: This counter only applies to Versions 4.0 - 6.0.x. It was deprecated in v6.1.depfeat

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

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..

  • Enable the Java virtual machine profiler data
  • PMI data organization