top
From Mac Guides
Revision as of 19:51, 10 June 2008; Eraserhead (Talk | contribs)
(diff) ←Older revision | Current revision | Newer revision→ (diff)
(diff) ←Older revision | Current revision | Newer revision→ (diff)
top is a Terminal command used to display a list of running processes, similar to Activity Monitor. By default it shows CPU usage and CPU time, as well as number of threads and memory usage statistics.
[edit]
Examples
To show all the running processes:
top
To show all the running processes, sorted by CPU usage:
top -u
To show all the running processes, sorted by cumulative CPU usage (and just let it run...):
top -ca -u
[edit]
Man Page Excerpt
The top program periodically displays a list of processes on the system in sorted order. The default key for sorting is pid, but other keys can be used instead. Various output options are available.
[edit]

