com.ibm.websphere.pmi.stat

Interface WSJVMStats



  • 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

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

      • 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
IBM WebSphere Application ServerTM
Release 8.5