← Linux LabsLab 01 · Part 1 of 2 · What is /proc?
1 · start from zero

Every running program is a process

When you open a program, Linux loads it into memory and runs it. That running copy is called a process. Run the same program twice and you get two processes.

Linux tells processes apart by giving each one a number, its PID (process ID). Lots of Linux tools work with PIDs. To stop a program, for example, you'd run kill 812.

Try itClick a process on the right. The command ps lists processes, and the same row lights up in its output.
A Linux machine, right now4 processes
$ ps -e -o pid,comm PID COMMAND 590 sshd 812 firefox 4100 bash 4242 iolab
Pick one.