File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Testing and the fly likes How to record CPU performance in a script/file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "How to record CPU performance in a script/file?" Watch "How to record CPU performance in a script/file?" New topic

How to record CPU performance in a script/file?

Abhishek Sawant

Joined: Feb 21, 2010
Posts: 13
Hi, I am using Apache JMeter tool for load testing. I am using tomcat & mysql located on different servers. I use an application named Putty, through which I can see CPU performance for tomcat & mysql. My problem is, I cannot get this CPU performance later for further analysis of test results. For most of the time CPU reaches to 99.9 % or sometimes varies between 20 - 60 %. I need this all records in a file, so that I can use them for further analysis. If you know how this can be achieved, please let me know.
If you need more details, kindly let me know.

Thanks & Regards,
Gian Franco
Ranch Hand

Joined: Dec 16, 2003
Posts: 977
There is a (free) tool called Jamon that might be useful for you.

Or, if you have the resources, a commercial tool called YourKit
that I had a chance to use in one of my previous projects and
that I know for sure is able to record the cpu performance.

"Eppur si muove!"
Alfred Peterson

Joined: Aug 17, 2010
Posts: 12
Hello friends,

That seems to be the case with me as well,i hads been working on the apache master and still having some main throttled problesn and on many occasions my account get suspended for the performance.


I agree. Here's the link:
subject: How to record CPU performance in a script/file?
It's not a secret anymore!