Browsing GemFire MBeans through JConsole
Browsing GemFire MBeans through JConsole
You can browse all the GemFire MBeans in your distributed system by using JConsole.
To view GemFire MBeans through JConsole, perform the following
steps:
- Start a gfsh prompt.
- Connect to a running distributed system
by either connecting to a locator with an embedded JMX Manager or connect
directly to a JMX Manager. For example:
gfsh>connect --locator=locator1[10334]
orgfsh>connect --jmx-manager=locator1[1099]
- Start JConsole:
gfsh>start jconsole
If successful, the message Running JDK JConsole appears. The JConsole application launches and connects directly to the JMX Manager using RMI. - On the JConsole screen, click on the
MBeans tab. Expand GemFire. Then expand each MBean to browse individual
MBean attributes, operations and notifications.
The following is an example screenshot of the MBean hierarchy in a GemFire distributed system: