Skip to main content

How do I get the API that use jconsole?

1 reply [Last post]
edwardha78
Offline
Joined: 2007-09-12

Jconsole looks cool. I want to get all the information that jconsole is capturing so I was looking for some API that allows me do the same that jconsole do. Somebody knows where do I find it?
Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
alexlamsl
Offline
Joined: 2004-09-02

How can JConsole get those information without relying on any APIs? ;-)

What you are looking for is JMX:

http://java.sun.com/javase/technologies/core/mntr-mgmt/javamanagement/
http://java.sun.com/javase/6/docs/technotes/guides/management/