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


Click here to return to the 'Monitor one task's CPU usage via top' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Monitor one task's CPU usage via top
Authored by: kirkmc on Nov 16, '04 03:42:01PM

Yes, that's top -ocpu -n 1, to display just one process, but it also displays all the lines with the summary info at the top of the window. So you could grep to find only those lines with processes, though it doesn't look that simple - there is no common text in all the process lines that is not in the summary.

---
Read my blog: Kirkville -- http://www.mcelhearn.com
Musings, Opinion and Miscellanea, on Macs, iPods and more



[ Reply to This | # ]