Enable VisualVM for remote monitoring of Java

Step 1: get jstatd running.

If jstatd is not running,  create a file called jstatd.all.policy with the following contents:

Start jstatd as follows:

Step 2: Start Remote jvisualvm

 

/usr/java/jdk1.7.0_25/bin/jvisualvm

 

Screenshot-Java VisualVM