Monitoring JVM internals
I am trying to monitor several metrics like GC Statistics, Class Loader Stats etc... I had some success with MBeans, but I am not able to monitor as deep into the jvm as I can do it with for example jstat or jvisualvm. For example I don't find the tenured threshold in the MBean structure. Because jstat and jvisualvm are able to get this value I am wondering how they do that. Because of this it should be generally possible.
The reason why I want to do that is, that I want to create my custom view of a jvm for monitoring. Maybe someone already had success with such monitoring?
Many thanks in advance!