Reese Knowledgebase

Display top 10 processes eating up CPU

View Kristian Reese's profile on LinkedIn

If you like this article, please +1 or Recommend via FB with the provided buttons above:

Article ID: 27
by: Reese K.
Posted: 28 Feb, 2012
Last updated: 16 Apr, 2013
Views: 2205

ps -eo pcpu,pid,user,args | sort -k 1 -r | head -10

I also like this format to display by user:

ps -U apache -u apache u

This article was:   Helpful | Not Helpful
Also listed in
folder UNIX -> Linux

Prev   Next
Job Control in Unix     Forcing qmail to send messages