Memory Monitoring and Management Platform MBeans: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 13: Line 13:


=Memory MBean=
=Memory MBean=
{{External|http://docs.oracle.com/javase/8/docs/api/java/lang/management/MemoryMXBean.html}}


The Memory MBean implements the MemoryMXBean interface, and exists as a ''singleton'' instance in the JVM. The MBean instance is accessible from the [[JMX#The_Platform_MBean_Server|platform MBean server]], either programmatically by calling <tt>ManagementFactory.getMemoryMXBean()</tt> method, or by looking up the "java.lang:type=Memory" JMX ObjectName with <tt>PlatformManagedObject.getObjectName(...)</tt>.
The Memory MBean implements the MemoryMXBean interface, and exists as a ''singleton'' instance in the JVM. The MBean instance is accessible from the [[JMX#The_Platform_MBean_Server|platform MBean server]], either programmatically by calling <tt>ManagementFactory.getMemoryMXBean()</tt> method, or by looking up the "java.lang:type=Memory" JMX ObjectName with <tt>PlatformManagedObject.getObjectName(...)</tt>.


=Memory Pool MBeans=
=Memory Pool MBeans=

Revision as of 17:40, 9 May 2017

External

Internal

Memory MBean

http://docs.oracle.com/javase/8/docs/api/java/lang/management/MemoryMXBean.html

The Memory MBean implements the MemoryMXBean interface, and exists as a singleton instance in the JVM. The MBean instance is accessible from the platform MBean server, either programmatically by calling ManagementFactory.getMemoryMXBean() method, or by looking up the "java.lang:type=Memory" JMX ObjectName with PlatformManagedObject.getObjectName(...).

Memory Pool MBeans