How to get CPU utilization for Unix OS?

You may use top and ps commands.

Display the process utilizing the most cpu and quits to sh: top -b -n -1

Display CPU Utilization: sar -u

And use ps to display processes with the highest CPU utilization: ps -eo pid,pcpu,args | sort +1n

Read man pages of each of the above commands to get more details and supported options.



Bookmark and Share

Comments

Popular posts from this blog

Installing Bugzilla on Windows

Online Hindi Radio Stations

Copy/Paste the block of text in vi/vim