

idle – shows the percentage of CPU time not actively being used.Īdditionally, there are also the following CPU sub-states:.system – shows the percentage of CPU time used by the kernel.user – indicates the percentage of CPU time used by user space processes.# htopīased on the figures you have seen in the previous screenshots, the CPU usage metric is divided into three main categories or states: The following is a screenshot of a htop monitoring tool, which shows a list of running processes by CPU Usage. To install htop on your Linux distribution, run: $ sudo apt install htop Htop is an interactive Linux system process viewer and process manager that shows the information on all the running processes by the CPU and memory usage on a system.

Top – Show Linux Running Processes htop – Linux Process Viewer The top command provides a dynamic real-time view of all the running processes in the Linux system along with CPU and memory utilization. It also shows a list of processes by CPU consumption by default. It shows the total number of tasks (156), the number of tasks running (7), the number of tasks in sleep mode (81), and others. Here the overall CPU usage is 29.5 percent, and more CPU time is utilized by user space processes or applications. The following is a screenshot of a section of the glances monitoring tool on a Debian Linux server showing CPU utilization statistics. To install glances on your Linux distribution, run: $ sudo apt install glances Glances is an open-source real-time monitoring utility that monitors several aspects of your Linux system such as CPU, memory, disk, and network usage. There are several command-line-based and graphical user interface tools for monitoring CPU usage on a Linux system such as top, glances (my favorite), htop, and more.
