How to check the CPU usage Linux CLI

This is a quick reference guide on how to check the CPU usage on Linux Based Operating Systems.

top

root@VPS:~# top
top - 10:24:01 up 8 days,  2:06,  1 user,  load average: 0.00, 0.00, 0.00
Tasks:  77 total,   1 running,  42 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.3 us,  0.3 sy,  0.0 ni, 99.3 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem :  1009152 total,   192368 free,    80160 used,   736624 buff/cache
KiB Swap:        0 total,        0 free,        0 used.   739160 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND
    1 root      20   0  159616   8932   6684 S  0.0  0.9   0:05.61 systemd
    2 root      20   0       0      0      0 S  0.0  0.0   0:00.06 kthreadd
    4 root       0 -20       0      0      0 I  0.0  0.0   0:00.00 kworker/0:0H
   
lines omitted for brevity

root@VPS:~#

If you are new to the world of Linux, an avid Linux enthusiast or a student why not try our 0.99p per month Linux VPS.

Simply click on the screen shot below to find out more or navigate to https://piggybank.cloud

Thank you for reading and please feel free to leave any feedback.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s