WAS v8.5 > Reference > Settings

Liberty profile: JVM monitoring with JvmStats MXBean


Each Liberty profile instance has one JvmStats MXBean. The ObjectName for identifying JVM MXBean is:

Attributes include...

Heap Information

  • Amount of free heap available (in Bytes)
  • Total used memory by JVM for from heap (in Bytes)
  • Heap size (in Bytes)

CPU Information

  • Percentage of CPU consumed by this JVM

Garbage Collection (GC)Information

  • Number of times that GC happened since JVM started
  • Total time taken by GC activity

General Information

  • Time in milliseconds since JVM has started.

Counter definitions (Attributes to MXBean)

    Heap Heap size used for current JVM.
    FreeMemory Free heap available for current JVM.
    UsedHeap Used heap for current JVM.
    ProcessCPU Percentage of CPU used by JVM process.
    GcCount Number of times GC has happened since JVM starts.
    GcTime Total accumulated value of GC time.
    UpTime Time in milliseconds, since JVM has started.

Management Interface The management interface of JVM monitoring is...

    com.ibm.websphere.monitor.jmx.JvmMXBean

We can use the management interface to obtain a proxy object.