process ID

The number the kernel gives each running process so it can be told apart from all the others.

In more detail

Tools such as ps and top show it, and kill uses it to say which process should receive a signal. Numbers are reused after a process ends, so a saved process ID may later point at a different program.

Examples

Twelve-factor processes never write their PID to a file; the supervisor or platform that started them already tracks it.
Process IDs start at 1 and count upwards, and numbers are reused after a process ends. Commands such as ps, kill and systemctl status work with them. Verify the PID, its owner and its parent immediately before signalling, because a stale number may now belong to another process.
Volatility's process tree shows each process ID with its parent's ID.

Related terms

Taught in

References

Certification courses