[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2162
  • Last Modified:

Java: jstat: not working, how do I run it?

Hello Experts,

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?

thx,

Regards,
0
epifanio67
Asked:
epifanio67
1 Solution
 
ksivananthCommented:
check the version of java and where the jstat is enabled!
0
 
epifanio67Author Commented:
got it... thk u!
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now