Solved

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

Posted on 2010-09-16
2
1,759 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 500 total points
Comment Utility
check the version of java and where the jstat is enabled!
0
 

Author Closing Comment

by:epifanio67
Comment Utility
got it... thk u!
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
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.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now