Skip to main content

Posts

Showing posts from 2015

Visual VM tutorial

VisualVM is a visual tool available with JDK to monitor and analyze the performance of Java applications. Accessing Visual VM  In Windows   /bin/jvisualvm.exe  In Linux  /bin/jvisualvm  By default the Locally executing Java applications will be listed under Local node of Visual VM Visual VM – Remote Monitoring The following steps will help the user to monitor the remote application from windows machine Step 1 : Add following in remote application JVM argument -Dcom.sun.management.jmxremote.port=5555 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false Step 2 : Add Remote Host in local Visual VM Step 3: Step 4:   Step 5 : Enter the JMX port given as JVM argument Step 6 : Double click on the newly added node  This will display the JVM details in the right hand side.