Skip to the tool

πŸ“‘ Linux Process & Signal Reference

πŸ“‘ Linux Process & Signal Reference

Complete reference of Linux signals, process states, and process management commands with examples

Process States
RRunning / Runnable
SSleeping (interruptible)
DDisk sleep (uninterruptible)
ZZombie (defunct)
TStopped / Traced
IIdle (kernel thread)

Kill Hierarchy
1. Try SIGTERM (15) first β€” graceful
2. Wait a few seconds
3. Try SIGINT (2) β€” interrupt
4. Last resort: SIGKILL (9) β€” force

Never kill PID 1 (init/systemd)
Never kill D-state processes (I/O wait)

Quick Commands
kill -l β€” list all signals
ps aux --sort=-%mem β€” by memory
pgrep -f pattern β€” find by name
pstree -p β€” process tree

More in Algorithms & Computer Science

All 77 tools in Algorithms & Computer Science β†’