Processes and Signals
7 pages · ~5 min✓ Reviewed
Builds on Shell Scripting. Next up: Networking Commands.
Process Mental Model
1. Process and STAT
- Process = running program with a PID and PPID (parent)
- Every process has a parent; PID 1 (init/systemd) is the ancestor
| STAT | Meaning |
|---|---|
| R | running |
| S | sleeping |
| D | I/O wait, cannot be killed |
| T | stopped |
| Z | zombie: exited, parent has not called wait |
2. Control layers
- Signalkernel's message
- Jobshell handle
- Servicesystemd: logs, restart