File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
CPU usage and memory usage by processes
Joined: Feb 06, 2008
Mar 03, 2008 03:53:00
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
Joined: Apr 14, 2004
Mar 03, 2008 04:00:00
You'll not get that information from the Query Process utility. You will get it from tasklist though. Check the tasklist help for how.
I agree. Here's the link:
subject: CPU usage and memory usage by processes
Application Performance improvement
memory usage per process
XML Parsing and Validation with SAX parser shoots CPU to 100% utilization
resource usage after setting -verbosegc
Multiple JFrames ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014