Using JConsole
JConsole (Java™ Monitoring and Management Console) is a graphical tool which allows the user to monitor and manage the behavior of Java applications. JConsole is a Swing application. You might find that running JConsole on the same workstation as the Java application you want to monitor affects the performance of your Java application. You can use JConsole to connect to a JVM running on a remote workstation to reduce the affect of running JConsole on the application performance. http://www-01.ibm.com/support/knowledgecenter/SSYKE2_8.0.0/com.ibm.java.zos.80.doc/diag/tools/JConsole.html