JDK provide Java Monitoring and Management Console (JConsole) tool to provide information on performance and resource consumption of application running in Java platform using Java Management Extension (JMX) technology.
To enable JMX in PowerHub add lines below to $PE_HOME/bin/runServer:
-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=8024 \
-Dcom.sun.management.jmxremote.authenticate=true \
-Dcom.sun.management.jmxremote.ssl=false \
Notice:
1. JConsole is part of JDK default installation
2. “-Dcom.sun.management.jmxremote” is minimum parameter to enable JMX for local console. But this is not advisable.
3. Remote connect of JConsole can be achieve by setting the other three parameters
4. Remote connect use port. Each Java Application should be started with a separate port. e.g: 8001, 8002, 8003,…

