Thursday, September 16, 2010
Sorting TOP output in Linux
You can sort the “Top” output on various criteria such as CPU Usage, Memory Usage, Swap, CPU time, User etc.
To do this, while running “Top”, press ‘O’ (capital) key to access the sorting options. From there you can choose sorting criteria (for example, press ‘l’ for CPU time – shown below)
and press ‘Enter’ to apply it.