Search code examples
javajvmenvironment-variablesjmx

Getting remote JVM properties using JMX


Can anybody give me some guides on how to get the properties of a JVM after I created a JMX connection to it? I need to get those information programmatically. I searched for this without getting any hint. Any thoughts would be appreciated.


Solution

  • Have a look at JMX tutorial and examples.

    The properties you want can be obtained from RuntimeMXBean.