The `atop` Command to List Running Processes in Linux
`atop`
is a powerful and interactive system and process monitor for Linux that provides detailed information about system resources and processes. This guide illustrates how to use the `atop`
command to list running processes and monitor system activity.
Installing htop
Before using atop
, ensure it is installed on your system. Use the package manager relevant to your Linux distribution:
Debian/Ubuntu:
sudo apt-get install atop
Red Hat/CentOS:
sudo dnf install atop
Launching atop
To launch atop
, open a terminal and type:
atop
Process-related information including:
- PID : Process ID
- SYSCPU : System CPU Time
- USRCPU : User CPU Time
- VGROW : Virtual Memory Growth
- RGROW : Resident Memory Growth
- RUID : Real User ID
- EUID : Effective User ID
- ST : Process State
- EXC : Exit Code
- THR : Number of Threads
- S : Process Status
- CPUNR : CPU Number
- CPU : Overall CPU Usage
- CMD : Command or Process Name
How to List Running Processes in Linux | ps Command
As we all know Linux is a multitasking and multi-user system. So, it allows multiple processes to operate simultaneously without interfering with each other. Process is one of the important fundamental concepts of the Linux OS. A process is an executing instance of a program that carries out different tasks within the operating system.
Table of Content
- What is a Process in Linux?
- List Running Processes in Linux
- 1. The `ps` Command to List Running Processes in Linux
- 2. The `top` Command to List Running Processes in Linux
- 3. The `htop` Command to List Running Processes in Linux
- 4. The `atop` Command to List Running Processes in Linux
- 5. The `pgrep` Command to Find Process IDs in Linux