How to Check Running Process in Linux

vote/تقييم

In this guide, we will discover: How to Check Running Process in Linux – Easy Beginners Guide 2023
So, let’s begin!

Want to check running processes on your Ubuntu Linux computer but don’t know how? You should read this guide as it demonstrates various ways to accomplish that.

By Oluwaseun Bamisile | Updated March 23, 2023 | 7 minutes read

In this guide, I will teach you how to display active processes on your Ubuntu computer through the terminal.

You will also learn how to execute this task via the System Monitor app in the Ubuntu GUI.

Besides, I will include an FAQ section in this guide. That section will feature answers to some of the frequently asked questions concerning this topic.

Before proceeding, you must note that the procedures in this guide will be demonstrated using the Ubuntu 22.04 LTS operating system. Therefore, some of the procedures may be slightly different if you use another Ubuntu Linux-based operating system version.

View Active Process in Linux Through the Terminal

View Active Process In Linux Through The Terminal

The easiest way to view the running processes on your Ubuntu Linux-based computer is through the terminal. In fact, there is a couple of commands that allow you to do that.

However, in the sub-sections below, we will discuss how to use two of these commands to check the active processes in Ubuntu. These commands include the top command and the ps command.

How to Check Active Process Via the Terminal Using Top Command

  1. Right-click any free area on your Ubuntu Linux-based desktop and select Open in Terminal from the context menu. Alternatively, use the Ctrl + Alt + T keyboard shortcut to open the terminal in Ubuntu.
  1. When the terminal opens, run the command below and press the enter key on your keyboard.
top
View Active Process In Linux Through The Terminal
  1. Consequently, a live list of running processes – sorted by the amount of CPU they’re currently using – will be displayed.

To exit the top command, simply press the “q” key on your computer’s keyboard.

How to Show Running Process Via the Terminal Using Top Command

  1. On your Ubuntu Linux-based desktop, right-click any empty space and left-click Open in Terminal from the context menu. You can also launch Ubuntu’s terminal by simultaneously pressing the Ctrl + Alt + T keys on your keyboard.
View Active Process In Linux Through The Terminal
  1. In the Ubuntu Terminal, type the following command and press the enter key on your keyboard.
ps
  1. Therefore, a list of running processes and their Process IDs (PIDs) should appear. However, unlike the top command discussed in the previous section, this command doesn’t provide a live list of running processes.
View Active Process In Linux Through The Terminal

Check Running Process in Linux Through System Monitor

Another way to display active processes on your Ubuntu Linux-based computer is via the System Monitor software on the GUI. As the name suggests, the System Monitor software monitors every activity on your Ubuntu PC, including active processes.

So, the following steps will demonstrate how to view active processes on your Ubuntu Linux PC via System Monitor.

  1. Click the Show Applications icon on the Ubuntu dock.
Check Running Process In Linux Through System Monitor
  1. After doing that, input “system monitor ” in the search field. Then, select the System Monitor app from the search result.
  1. When the System Monitor app opens, ensure you are on the Processes tab. Hence, you will find a list of active processes on your Ubuntu Linux-based computer.
Check Running Process In Linux Through System Monitor

Frequently Asked Questions

Frequently Asked Questions
1. What Is A Running Process In Linux?

A running process in the Linux operating system is a program, application, or software that is currently in execution.

2. Can I Check A Running Process In The Ubuntu GUI?

Yes, you can check a running process through the Ubuntu GUI. To do that, follow the steps below.
a) Click the Show Applications icon on the Ubuntu dock.
b) After doing that, input “system monitor ” in the search field.
c) Then, select the System Monitor app from the search result.
d) When the System Monitor app opens, ensure you are on the Processes tab.
e) Hence, you will find a list of active processes on your Ubuntu Linux-based computer.

3. How Do I See Running Processes In Linux Via The Terminal?

To see the running processes on your Linux computer via the terminal, follow the steps below.
a) Open the terminal by using the Ctrl + Alt + T keyboard shortcut.
b) In the terminal, type “top” and press the enter key on your keyboard.
c) Therefore, a live list of running processes on your Linux PC will appear.

4. What Is A PID?

A PID (Process ID) is a unique number given to a process when executed so as to be identified by the system.

5. Is Linux Free?

Yes, the Linux operating system is a free and open-source OS.

My Final Thoughts

Checking the running processes in Linux is one of the most crucial skills for any Linux system administrator or user. This is because it can help determine how much resources specific processes are using and so much more.

Fortunately, this guide discussed multiple methods to display active processes in the Ubuntu Linux operating system. To be precise, we learned two commands to perform this task via the terminal.

I also provided steps to view running processes through the System Monitor app in the Ubuntu GUI.

I hope you were able to see the active processes on your Ubuntu Linux PC with the methods discussed in this guide. If you were, we would appreciate it if you could share your experience with us at Itechguides Community Forum.

You may also offer feedback or ask questions regarding this guide’s topic at Itechguides Community Forum. If you do, our forum staff and other community members will be glad to respond to you as soon as possible.

Finally, check out our Linux how-to page to find other helpful Ubuntu Linux guides.

References and Further Reading

  1. cyberciti.biz – How to check running process in Linux using command line
  2. Itechguides Community Forum
Avatar

is Senior Writer DZ-TECH, where he covers the world of technology, hacking, cybersecurity, surveillance and privacy.

Leave a Comment