Java: jstat: not working, how do I run it?
Posted on 2010-09-16
having problems running jstat.
here is what I am doing:
jdkDir> jstat -gc processPID 250 2
but it keeps saying that the PID is not found or it throws a java exception. I confirm, via task manager (windows) tomcat's PID and it is running. Yet, I can not run jstat.
can you experts help?