How to open a list of processes Linux

Sometimes, the user need to monitor the list of running processes in the Linux operating system and learn most detailed information on each one, or something specific. OS present in the built-in tools, allowing to carry out the task without any effort. Each tool is focused under your user and it opens up different possibilities. In this article we will cover two options, which can be useful in certain situations, and you will just have to choose the most suitable.

Going over the list of processes in Linux

Almost all popular distributions based on the Linux kernel, the list of processes can open and view using the same commands, tools. Therefore, we will not focus on separate assemblies, and take for example the latest version of Ubuntu. You will only execute the provided instructions to the whole procedure went smoothly and without difficulties.

Method 1: Terminal

Undoubtedly, the classic console operating systems on Linux plays a critical role in the interaction with the programs, files and other objects. All basic manipulation of the user produces through this app. Because from the beginning I would like to tell you about the output it through the Terminal. Notice we are only on one team, but consider the most popular and useful arguments.

  • First, we start the console by clicking on the corresponding icon in the menu bar or using key combination Ctrl + Alt + T.
  • Insert command psto just make sure it works and to see the view shows the data without using arguments.
  • As you can see, the process list is quite small, usually no more than three results, so you should devote time to the above mentioned arguments.
  • To display all processes, it is necessary to add -A. In this case, the command looks like ps-A (A must be upper case). After pressing Enter you will see the summary lines.
  • The previous command does not display the group leader (the main process of the bunch). If you are interested in these data, we should prescribe ps-d.
  • To get more useful information by simply adding -f.
  • Then a full process list with extended information will be called via ps -Af. In the table you will see the UID of the user who started the process PID is a unique number, PPID — the parent process number, C is the amount of time the CPU percentage when the active process, STIME the time of activation, TTY room console, where he was made run, TIME — work, CMD — the command that started the process.
  • Each process has its own PID (Process Identificator). If you want to see a summary about a specific object, use ps -fp PIDwhere PID — number of process.
  • We would like to touch and sort. For example, the command ps-FA --sort pcpu allows you to put all the rows in the order of CPU load and ps -Fe --sort rss — required RAM.
  • Above, we talked about the main arguments to command ps, however, there are still other options, for example:

    • -H — displays a tree of processes;
    • -V — output versions;
    • -N — a select all processes except specified;
    • -S — displays only the command name.

    For consideration of the method of viewing processes via built-in console we chose the command ps, not top, since the second is limited by the window size and the overflow data is simply ignored, remaining newimagename.

    Method 2: System monitor

    Of course, the method of viewing the desired information through the console is daunting for some users, but it allows you to get acquainted with all the important parameters and apply the necessary filters. If you just want to view a list of running tools, apps, and take with them a number of interactions that will suit you integrated graphics solution “System monitor”.

    Ways run this application you can read in our other article, clicking on the following link, and we proceed to the execution of the task.

    Read more: how to launch System monitor in Linux

  • Run “System monitor” any convenient method, for example, through the menu.
  • Immediately displays a list of processes. You will learn how much they consume memory and CPU resources, you will see the user who started the execution of the program, and will be able to see the other information.
  • Click the right mouse button on the desired row to go to its properties.
  • Here are displayed almost all the same data that is available to receive via the Terminal.
  • Use the search function or sort to find the required process.
  • Pay attention to the top panel — it allows you to sort the table according to the required values.
  • End, stop, or delete processes also occurs through this graphical application by clicking on the corresponding buttons. Novice users of such a solution seems more convenient than working in “Terminal”, but the development console will allow to obtain the desired information not only faster, but with lots of detail.


    (Visited 50 times, 1 visits today)