I try to run jstatd jvm monitoring tool on linux machine
jboss@hostAddr:/usr/java/jdk1.6.0_18/bin> uname -a Linux hostAddr 2.6.16.60-0.34-smp #1 SMP Fri J
I created new policy with following content:
grant codebase "file:/usr/java/latest/lib/tools.jar" { permission java.security.AllPermission; };
and then start jstatd with that policy with following command:
jstatd -J-Djava.security.policy=/usr/java/jstatd.all.policy &