com.ibm.websphere.pmi.stat
Interface WSJVMStats
-
public interface WSJVMStatsWebSphere 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
StatDescriptoris used to locate and access particular Stats in the PMI tree.
Example:- StatDescriptor that represents the Garbage collection data:
new StatDescriptor (new String[] {WSJVMStats.NAME, WSJVMStats.GC}); - StatDescriptor that represents the JVM runtime data:
new StatDescriptor (new String[] {WSJVMStats.NAME});
- StatDescriptor that represents the Garbage collection data:
-
-
Field Summary
Fields Modifier and Type Field and Description static intcpuUsageThe cpuUsage of the JVM(CountStatistic).static intFreeMemoryFree memory in JVM run time (CountStatistic).static java.lang.StringGCStats name of the Garbage Collection groupstatic intGCCountNumber of garbage collection calls (CountStatistic).static intGCIntervalTimeAverage time (ms) between garbage collections (TimeStatistic).static intGCTimeAverage duration (ms) of a garbage collection (TimeStatistic).static intHeapSizeTotal memory in JVM run time (BoundedRangeStatistic).static java.lang.StringMonitorStats name of the Monitor groupstatic java.lang.StringNAMEStats name of the JVM runtimestatic java.lang.StringObjectStats name of the Object groupstatic intObjectAllocateCountNumber of objects allocated in heap (CountStatistic).static intObjectFreedCountNumber of objects freed in heap (CountStatistic).static intObjectMovedCountNumber of objects in heap (CountStatistic).static java.lang.StringThreadStats name of the Thread groupstatic intThreadEndedCountNumber of threads ended (CountStatistic).static intThreadStartedCountNumber of threads started (CountStatistic).static intUpTimeThe amount of time (ms) the JVM is running (CountStatistic).static intUsedMemoryUsed memory in JVM run time (CountStatistic).static intWaitForLockTimeAverage time (ms) that a thread waits for a lock (TimeStatistic).static intWaitsForLockCountNumber of times that a thread waits for a lock (CountStatistic).
-
-
-
Field Detail
-
NAME
static final java.lang.String NAME
Stats name of the JVM runtime- See Also:
- Constant Field Values
-
GC
static final java.lang.String GC
Stats name of the Garbage Collection group- See Also:
- Constant Field Values
-
Monitor
static final java.lang.String Monitor
Stats name of the Monitor group- See Also:
- Constant Field Values
-
Thread
static final java.lang.String Thread
Stats name of the Thread group- See Also:
- Constant Field Values
-
Object
static final java.lang.String Object
Stats name of the Object group- See Also:
- Constant Field Values
-
HeapSize
static final int HeapSize
Total memory in JVM run time (BoundedRangeStatistic).- See Also:
- Constant Field Values
-
FreeMemory
static final int FreeMemory
Free memory in JVM run time (CountStatistic).- See Also:
- Constant Field Values
-
UsedMemory
static final int UsedMemory
Used memory in JVM run time (CountStatistic).- See Also:
- Constant Field Values
-
UpTime
static final int UpTime
The amount of time (ms) the JVM is running (CountStatistic).- See Also:
- Constant Field Values
-
cpuUsage
static final int cpuUsage
The cpuUsage of the JVM(CountStatistic).- See Also:
- Constant Field Values
-
GCCount
static final int GCCount
Number of garbage collection calls (CountStatistic). This counter is available only when JVMPI is enabled.- See Also:
- Constant Field Values
-
GCIntervalTime
static final int GCIntervalTime
Average time (ms) between garbage collections (TimeStatistic). This counter is available only when JVMPI is enabled.- See Also:
- Constant Field Values
-
GCTime
static final int GCTime
Average duration (ms) of a garbage collection (TimeStatistic). This counter is available only when JVMPI is enabled.- See Also:
- Constant Field Values
-
ObjectAllocateCount
static final int ObjectAllocateCount
Number of objects allocated in heap (CountStatistic). This counter is available only when JVMPI is enabled.- See Also:
- Constant Field Values
-
ObjectFreedCount
static final int ObjectFreedCount
Number of objects freed in heap (CountStatistic). This counter is available only when JVMPI is enabled.- See Also:
- Constant Field Values
-
ObjectMovedCount
static final int ObjectMovedCount
Number of objects in heap (CountStatistic). This counter is available only when JVMPI is enabled.- See Also:
- Constant Field Values
-
ThreadStartedCount
static final int ThreadStartedCount
Number of threads started (CountStatistic). This counter is available only when JVMPI is enabled.- See Also:
- Constant Field Values
-
ThreadEndedCount
static final int ThreadEndedCount
Number of threads ended (CountStatistic). This counter is available only when JVMPI is enabled.- See Also:
- Constant Field Values
-
WaitsForLockCount
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:
- Constant Field Values
-
WaitForLockTime
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:
- Constant Field Values
-
-