Using *NIX top on OS X

by Marshall on December 25, 2007

When I use top, I generally use it to find runaway processes. The default behavior on Linux is to order the processes by the amount of CPU usage that they are taking. On OS X, this is not the case. If you want to order processes by CPU on Darwin’s top, you will need to run a command that looks like this:

top -ocpu -O+rsize

Plop an alias in your .bash_profile file and never think about it again.

Leave your comment

Required.

Required. Not published.

If you have one.