Process ID (PID)
noun
say it: “PROH-ses eye-DEE” /ˈprɑsɛs ˌaɪˈdi/ or “PID” /pɪd/
The number a computer gives a program while it runs, so commands can point at that one program.
What is a process ID (PID)?
A process ID, or PID, is the ticket number a computer hands each program as it starts, like the numbers at a deli counter. Two copies of the same program get two numbers, and the next time a program starts it gets a new one. Commands that look at or stop one process name it by its PID.
pgrep -af runaway # 1826 bash ./runaway.sh
ps -p 1826 # the line for PID 1826
kill 1826 # asks it to stop
In a sentence
- “Sam found the runaway script's process ID with ps and stopped it with kill.”
- “Every time the export starts again, it gets a new process ID.”
Level: Apprentice · More Operating System terms at this level
Updated