How do I Find Out CPU Utilization in UNIX?

Keeping track of your CPU's performance is extremely important. In UNIX, you can accomplish this task by using the system utilities and commands. For those who would like to find out their CPU utilization, one command is extremely important. It is called SAR - System Activity Reporter.

The SAR commands make accessing CPU performance quite easy. Some simple commands to retrieve CPU utilization include:

sar -u

The above command will display the current CPU usage.

# sar

The above command will display the entire day's CPU usage.

# sar -u 12 5

The above command will display the CPU usage 5 times at 12-second intervals. It should be noted that sar t [n] can be used to assign the time between each display (t equals time and n equals number).

Other command features for outputs include:

The above commands can be used for all versions of operating systems under UNIX.



Top 5 Free Networking Tools

Bookmark How do I Find Out CPU Utilization in UNIX?

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.