| More

Finding CPU utilization is one of the important tasks in systems administration. There are built-in and 3rd party tools that you can use to perform this task.

1. top – displays Linux tasks
this is the most common command used in getting CPU usage


2. mpstat – display CPU individually and processors related stats.
In order to use this, package “sysstat” should be installed. you can use apt-get (debian-based) or yum (red-hat based) command to install it via internet

#yum install sysstat


#mpstat -P ALL

3. sar – Collect, report, or save system activity information.

#sar -u 3 7

sar in 3 secs interval & 7 times

4. ps – report a snapshot of the current processes.

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

who’s eating ur cpu?

5. iostat – Report  Central  Processing  Unit  (CPU)  statistics and
input/output  statistics  for  devices,  partitions   and   network
filesystems (NFS).

#iostat -xtc 5 3

5 Responses to “Checking Linux CPU Utilization”

  1. devops online training

    on August 16 2016

    Happy to know you find this post useful. Cheers!

  2. Ακτοπλοϊκά ταξίδια

    on December 26 2017

    It is appropriate tome too make some plans for the long run and it’s time to be happy.
    I have read this post and if I could I wish tto counsel yyou few interesting things or tips.

    Perhaps you could wrige next articles relating tto this article.

    I desire to read more thinngs approximately it!

  3. MaxCure Hospitals

    on January 10 2018

    These Technics worth a lot dude.

  4. Multispecialty hospitals in Hyderabad

    on February 3 2019

    Linux and Unix are shown way to personal use of computers.

  5. Bhanu Pratap

    on April 12 2019

    I prefer to study this kind of material. Nicely written information in this post, the quality of content is fine and the conclusion is lovely. Things are very open and intensely clear explanation of issues

Comment RSS · TrackBack URI

Leave a comment

Name: (Required)

E-mail: (Required)




About FLT

This site is dedicated to everyone who likes to learn and explore the beautiful world of Linux. If you have comments and suggestions, please feel free to email at freelinuxtutorials@gmail.com. I am happy to serve and share things esp. that is free and enjoyable as Linux.