aspose file tools*
The moose likes Java in General and the fly likes CPU usage and memory usage by processes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "CPU usage and memory usage by processes" Watch "CPU usage and memory usage by processes" New topic
Author

CPU usage and memory usage by processes

aashini shah
Greenhorn

Joined: Feb 06, 2008
Posts: 8
In my project i want to currently running processes on the host with their cpu usage and memory usage as in task manager

I got the currently running processes using Runtime.geRuntime().exec("qprocess */sys");

but how can i get cpu usage and memory usage for the perticular process
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

You'll not get that information from the Query Process utility. You will get it from tasklist though. Check the tasklist help for how.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CPU usage and memory usage by processes
 
Similar Threads
Multiple JFrames ?
memory usage per process
Application Performance improvement
XML Parsing and Validation with SAX parser shoots CPU to 100% utilization
resource usage after setting -verbosegc