com.ibm.websphere.pmi.stat

Interface WSJVMStats


  1. public interface WSJVMStats
WebSphere JVM stats interface. JVM stats are structured as follows in the PMI tree:

<server>
|
|__JVM Runtime
  |
  |__Garbage Collection #
  |__Monitor #
  |__Thread #
  |__Object #

# indicates performance data from JVMPI

StatDescriptor is used to locate and access particular Stats in the PMI tree.
Example:

  1. StatDescriptor that represents the Garbage collection data: new StatDescriptor (new String[] {WSJVMStats.NAME, WSJVMStats.GC});
  2. StatDescriptor that represents the JVM runtime data: new StatDescriptor (new String[] {WSJVMStats.NAME});

Field Summary

Modifier and Type Field and Description
  1. static
  2. int
cpuUsage
The cpuUsage of the JVM(CountStatistic).
  1. static
  2. int
FreeMemory
Free memory in JVM run time (CountStatistic).
  1. static
  2. java.lang.String
GC
Stats name of the Garbage Collection group
  1. static
  2. int
GCCount
Number of garbage collection calls (CountStatistic).
  1. static
  2. int
GCIntervalTime
Average time (ms) between garbage collections (TimeStatistic).
  1. static
  2. int
GCTime
Average duration (ms) of a garbage collection (TimeStatistic).
  1. static
  2. int
HeapSize
Total memory in JVM run time (BoundedRangeStatistic).
  1. static
  2. java.lang.String
Monitor
Stats name of the Monitor group
  1. static
  2. java.lang.String
NAME
Stats name of the JVM runtime
  1. static
  2. java.lang.String
Object
Stats name of the Object group
  1. static
  2. int
ObjectAllocateCount
Number of objects allocated in heap (CountStatistic).
  1. static
  2. int
ObjectFreedCount
Number of objects freed in heap (CountStatistic).
  1. static
  2. int
ObjectMovedCount
Number of objects in heap (CountStatistic).
  1. static
  2. java.lang.String
Thread
Stats name of the Thread group
  1. static
  2. int
ThreadEndedCount
Number of threads ended (CountStatistic).
  1. static
  2. int
ThreadStartedCount
Number of threads started (CountStatistic).
  1. static
  2. int
UpTime
The amount of time (ms) the JVM is running (CountStatistic).
  1. static
  2. int
UsedMemory
Used memory in JVM run time (CountStatistic).
  1. static
  2. int
WaitForLockTime
Average time (ms) that a thread waits for a lock (TimeStatistic).
  1. static
  2. int
WaitsForLockCount
Number of times that a thread waits for a lock (CountStatistic).

Field Detail

NAME

  1. static final java.lang.String NAME
Stats name of the JVM runtime
See Also:

GC

  1. static final java.lang.String GC
Stats name of the Garbage Collection group
See Also:

Monitor

  1. static final java.lang.String Monitor
Stats name of the Monitor group
See Also:

Thread

  1. static final java.lang.String Thread
Stats name of the Thread group
See Also:

Object

  1. static final java.lang.String Object
Stats name of the Object group
See Also:

HeapSize

  1. static final int HeapSize
Total memory in JVM run time (BoundedRangeStatistic).
See Also:

FreeMemory

  1. static final int FreeMemory
Free memory in JVM run time (CountStatistic).
See Also:

UsedMemory

  1. static final int UsedMemory
Used memory in JVM run time (CountStatistic).
See Also:

UpTime

  1. static final int UpTime
The amount of time (ms) the JVM is running (CountStatistic).
See Also:

cpuUsage

  1. static final int cpuUsage
The cpuUsage of the JVM(CountStatistic).
See Also:

GCCount

  1. static final int GCCount
Number of garbage collection calls (CountStatistic). This counter is available only when JVMPI is enabled.
See Also:

GCIntervalTime

  1. static final int GCIntervalTime
Average time (ms) between garbage collections (TimeStatistic). This counter is available only when JVMPI is enabled.
See Also:

GCTime

  1. static final int GCTime
Average duration (ms) of a garbage collection (TimeStatistic). This counter is available only when JVMPI is enabled.
See Also:

ObjectAllocateCount

  1. static final int ObjectAllocateCount
Number of objects allocated in heap (CountStatistic). This counter is available only when JVMPI is enabled.
See Also:

ObjectFreedCount

  1. static final int ObjectFreedCount
Number of objects freed in heap (CountStatistic). This counter is available only when JVMPI is enabled.
See Also:

ObjectMovedCount

  1. static final int ObjectMovedCount
Number of objects in heap (CountStatistic). This counter is available only when JVMPI is enabled.
See Also:

ThreadStartedCount

  1. static final int ThreadStartedCount
Number of threads started (CountStatistic). This counter is available only when JVMPI is enabled.
See Also:

ThreadEndedCount

  1. static final int ThreadEndedCount
Number of threads ended (CountStatistic). This counter is available only when JVMPI is enabled.
See Also:

WaitsForLockCount

  1. static final int WaitsForLockCount
Number of times that a thread waits for a lock (CountStatistic). This counter is available only when JVMPI is enabled.
See Also:

WaitForLockTime

  1. static final int WaitForLockTime
Average time (ms) that a thread waits for a lock (TimeStatistic). This counter is available only when JVMPI is enabled.
See Also: