Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2010-09-16
2
Medium Priority
?
2,080 Views
Last Modified: 2013-11-23
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
Comment
Question by:epifanio67
2 Comments
 
LVL 26

Accepted Solution

by:
ksivananth earned 2000 total points
ID: 33698668
check the version of java and where the jstat is enabled!
0
 

Author Closing Comment

by:epifanio67
ID: 33711651
got it... thk u!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question