Ad space (banner)
🖥️Linux Lessons
Lesson 19 / 61

Viewing Running Processes with ps

ps is for when "I want to check what programs are currently running." ps stands for process status, and it lists the processes (running programs) currently active.

ps alone shows processes related to your own terminal, while ps aux shows every process on the entire system, with detailed info.

Running ps lists process IDs (PIDs) and command names. This PID is what you'd use with the kill command, covered next, to terminate a process.

A common early mistake is being overwhelmed by a huge list of processes and not being able to find the one you're looking for. Narrowing it down with something like ps aux | grep process-name makes it easier to spot.

In real work, this is used to check whether an unintended process is running on a server, or to identify a process consuming excessive resources.

Linux
Try it (type this into the pseudo terminal)
ps

🧑‍💻 You can type this command into the Linux pseudo terminal to try it yourself (this page itself has no interactive terminal).

Ad space (banner)
Ad space (in-article)