The first thing I recommend doing is to install the MBean plugin. With this plugin VisualVM gets the mbean feature found in JConsole. In fact I never uses JConsole anymore since VisualVM has all the features, and more.
To install the plugin select Tools -> Plugins -> Available Plugins. Check the VisualVM-MBeans and press install:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYvz_KxPjoCLcDJhT5roTIPzPREO62S5oxA5NfF5cY-PwlaVcdbtaY5uq2Fu5Ut97fXUcOLrhPK86zouuaWSXo5d7vwMYtAKc35FDAw-4mPC3IZQdySK1Nnqm-DRMzlOr7Eug_OnSKFVRV/s400/mbeans_plugin.png)
Now attach to a process by clicking on it in the list. If the process is on another computer use the Remote-node.
This is how the MBeans tab looks like:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5aXnKEfj0Sig8fG3FMaZcI4yWWYCwqGAonQAcqopJ641LXIJkwOtmP2f6MGFn02b1RH-BIiCr15JNqfxTCW1v65ZSVUWqh6si-NcBPl1w9Y0VBUtjWu97hAgbVjS9SlNjEJrkclkuptPs/s400/mbeans_plugin2.png)
This is how the monitor tab looks like:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQm9mTFBdwBhyphenhyphenSxi8-LSH1yLQArhRZiRUm6Pusn5_xJ3U6lbLEUJzKIN-lHEl-f9_In3_xfWCLqUGGVZb9UAKSpTqeooybfZ0tZsWUhL3hUKfcZiXp_z1tz59q0V65CXAvKoKUnoaRj8Wu/s400/visualvm_monitor.png)
No comments:
Post a Comment