MBean Simple Graph Monitor

noplay picture noplay · Dec 14, 2009 · Viewed 12.4k times · Source

I have some JMX Beans that expose performance information in my application. I would like to have some facility to plot an attribute of an MBean in a graph for monitoring (a la Windows Perf Mon). I love the stuff that comes with JConsole and VisualVM, but I have not been able to find a nice plugin that will let me select an attribute on an MBean and monitor it. Anyone have any ideas?

Answer

Adrian Muraru picture Adrian Muraru · Mar 8, 2011

You can plot JMX numeric values in VisualVM, double-clicking on numeric attribute values will display a chart that plots changes in that numeric value.

For example, double-clicking on the CollectionTime attribute of the Garbage Collector MBean MarksweepCompact will plot the time spent performing garbage collection.

@see http://visualvm.java.net/mbeans_tab.html