parent process

The process that started another process; every process except the first records its parent's PID.

In more detail

Following parent PIDs shows how a process came to exist, for example started by your shell or by systemd. If a parent exits first, the orphaned child is adopted by PID 1 or a designated subreaper. The parent is also who collects the child's exit status.

Examples

pid=42 ppid=1 user=ana cmd=worker shows a process whose parent is PID 1.
Unusual parent-child pairs are strong clues: Word starting PowerShell, or lsass.exe with any parent except wininit.exe.

Related terms

Taught in

References