Command to find CPU usage in Linux

Command to find CPU usage in Linux

There are 3 commands that we can use

sar

top

mpstats

You may need to install sysstat package to use these commands : apt-get install sysstat

If you install sysstat , enable systat by edit: nano /etc/default/sysstat    -> change ENABLE from false to true.

Leave a Reply

Your email address will not be published. Required fields are marked *