How to find Out Linux CPU Utilization?




Finding CPU utilization means to find out the CPU usage for every process or application.Linux provides lots of utilities and information regarding CPU usage.
* CPU utilization
* Display the utilization of each CPU individually (SMP cpu)
* Find out your system's average CPU utilization since the last reboot etc
* Determine which process is eating the CPU(s)
Most useful commands are:
  • TOP
  • SAR
TOP
The top command generates a frequently-updated list of processes. By default, the processes are ordered by percentage of CPU usage, with only the "top" CPU consumers shown. The top command shows how much processing power and memory are being used, as well as other information about the running processes.



SAR

CPU activity, with SAR command:# sar
12:00:02 AM       CPU     %user     %nice   %system   %iowait     %idle
12:10:01 AM       all      1.05      0.00      0.28      0.04     98.64


Share your views...

0 Respones to "How to find Out Linux CPU Utilization?"

Post a Comment

 

© 2010 Codes & Concepts All Rights Reserved Thesis WordPress Theme Converted into Blogger Template by Hack Tutors.info