Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Dramatically reduce the CPU usage of 'top'' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Dramatically reduce the CPU usage of 'top'
Authored by: mpiatek on Feb 20, '04 02:02:06PM

I'm the author of another system monitor application called XRG. In the latest version, I added the ability to control-click on the CPU graph and it will show you the 5 processes using the most CPU time. I have found that more often than not, XRG will display itself as using much more CPU time than it is really using (10-15% instead of 3-4% shown by top and Activity Monitor). I believe this is caused by the code module I use to get the process CPU usage statistics. Every time the menu is activated, it takes some time to grab CPU usages and that skews the results that I get for the XRG app itself. I haven't been able to come across a way to avoid this issue, aside from spending extra CPU time always by constantly keeping an updated list of process CPU usage.

Anyway, my two cents,
Mike Piatek-Jimenez

[ Reply to This | # ]