View Single Post

  #2 (permalink)  
Old 10-21-2006, 01:34 AM
monk's Avatar
monk monk is offline
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

Use top and ps commands.

Code:
top
Display the process utilizing the most cpu and quits to sh:
Code:
top -b 1
Display CPU Utilization:
Code:
sar -u
And use ps to display processes with the highest CPU utilization
Code:
ps -eo pid,pcpu,args | sort +1n
Read man pages of each of the above commands to get more details and supported options.
Reply With Quote