How to list Linux processes

Table of contents:

How to list Linux processes
How to list Linux processes

Linux, like any other operating system, has processes. All of them are responsible for the operation of a particular program. At some point in order to solve a problem with a computer, the user may need to view the full list of running processes in Linux, this article will show you how to do this.

What is a "Process"

First of all, let's figure out what it is - a process. It has already been said above that he is responsible for the execution of the program. This is true, but it would be more accurate to say that the process is a program identifier. The fact is that several users can work on a Linux system who run the same processes, and in some cases even one user can open them. The system needs to somehow identify this, so there is such a thing as PID (Process Identifier).

In the system, any process can run in several modes:

  1. Launch. This mode means that the process is either already running or is starting.
  2. Waiting. In this state, the process is waiting to receiveany command, respectively, it is not executed.
  3. Stopped. It's simple - the process was stopped forcibly by the user. In order for him to continue his work, he needs to give the appropriate signal.
  4. Dead. It is also called "zombie process". This is when it was killed by the user but still shows up in the list. Most often this is due to the fact that he had adjacent processes that continued their work.

How to display a list of processes on the screen in Linux

Having de alt with the basic concepts, you can go directly to the instructions. The following will explain how to view the list of Linux processes using two methods: through the "Terminal" and using a program with a graphical interface.

Method 1: "Task Manager"

First of all, we will tell you how to display a list in the graphical interface, since it is more convenient for most users.

  1. Open the system menu.
  2. Click on the "Search" button.
  3. Enter the name of the program "Task Manager" (in some distributions it is called "System Monitor").
  4. LMB click on the program of the same name.
linux process list
linux process list

Immediately after that, a window will open that will display all running processes on the computer. By the way, right there you can see a graph of the load of the central processor and memory, as well as view the influence of a particular process on this indicator.

Method 2: through"Terminal"

The list of processes in Linux can also be viewed in the "Terminal", which is launched by pressing the Ctrl+Alt+T keys. There is a command for this:


It's simple - run the "Terminal", enter the command and press Enter. However, it was not there. In the output, you will not see a complete list of processes, but only those that were launched as part of the work of the "Terminal".

list of running linux processes
list of running linux processes

To see more information, you need to use various command options. By the way, they can even be combined, but first things first.

For example, if you want to see the entire list of processes, but without group leaders, use this command:

ps -A

But still, most often users want to see absolutely all processes. Fortunately, there is such a command, or rather, an option:

ps -d

It may seem that little information is displayed - only the operating time (TIME) and the command (CMD). Everything can be solved with the "-f" option:

ps -f

Don't forget that options can be combined. Therefore, if you want to display more information in the full list of Linux processes, enter this command:

ps -df

linux list processes
linux list processes


So we figured out how to view the list of processes in Linux. As you can see, this task is relatively simple, especially since there are several ways. If you want touse flexible sorting options, then "Terminal" is perfect for these purposes. If you prefer the graphical interface, then use the Device Manager program.

Popular topic

Editor's choice