How to check CPU Utilization in Linux



How To Check CPU utilization from Linux  Terminal:



What we required for checking status of  Linux:
  1.  Linux-based computer (Ubuntu ).
  2. Access to the user account with sudo privilege.


Open a terminal window and enter the following:
 sudo apt-get install sysstat

It will install all the sysstat.


When the processes will be finished use the mpstat command in the terminal
as follows:
mpstat

Now it will shows the CPU usage at each time interval in terms of percentage..




When enterting another command:

mpstat 5 7


Thanks .

Comments