Liberty profile: JVM monitoring

You can use the JvmStats MXBean for JVM monitoring in the Liberty profile.

Each Liberty profile instance has one JvmStats MXBean.

The ObjectName for identifying JVM MXBean is:
WebSphere:type=JvmStats
Available Instances = 1

This MXBean is responsible for reporting performance of JVM. Following attributes are available for JVM.

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.
  • UsedMemory: 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.
.
Fix Pack 8501 Management Interface
Fix Pack 8501 The management interface of JVM monitoring is com.ibm.websphere.monitor.jmx.JvmMXBean. Fix Pack 8501 You can use the management interface to obtain a proxy object. See Liberty profile: Examples of accessing MBean attributes and operations.
Fix Pack 8501 For more information about the management interface, see the Java API document for the Liberty profile. The Java API documentation for each Liberty profile API is detailed in the Programming Interfaces (APIs) section of the information center, and is also available as a separate .zip file in one of the javadoc subdirectories of the ${wlp.install.dir}/dev directory.

Icon that indicates the type of topic Reference topic

Terms and conditions for information centers | Feedback


Timestamp icon Last updated: Monday, 21 April 2014
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-mp&topic=rwlp_mon_jvm
File name: rwlp_mon_jvm.html