A comprehensive developer cheatsheet covering Linux process management and system monitoring, featuring essential CLI commands, common flags, and operational workflows for viewing processes (ps, top, htop), controlling execution and priorities (kill, nice, renice), managing background jobs (bg, fg, nohup), and inspecting system resources (free, vmstat, iostat, uptime).
Understanding Linux Processes
Process States
State
Symbol
Meaning
Running
R
Currently executing or in run queue
Sleeping
S
Waiting for an event (interruptible)
Sleeping
D
Waiting for I/O (uninterruptible)
Stopped
T
Suspended (by job control or debugger)
Zombie
Z
Terminated but parent hasn't read exit status
Process ID (PID) Types
ID
Meaning
PID
Process ID — unique identifier for each process
PPID
Parent Process ID — the process that spawned this one
UID
User ID — owner of the process
GID
Group ID — group owner of the process
TID
Thread ID — unique identifier for each thread
Signals
Signal
Number
Meaning
SIGHUP
1
Hangup — reload configuration
SIGINT
2
Interrupt — from keyboard (Ctrl+C)
SIGQUIT
3
Quit — from keyboard (Ctrl+)
SIGKILL
9
Kill — force terminate (cannot be caught)
SIGTERM
15
Terminate — graceful shutdown (default)
SIGSTOP
19
Stop — suspend (cannot be caught)
SIGCONT
18
Continue — resume after stop
The rest of this sheet is locked4 Pro sheets unlock together, across every toolEveryPro sheet, every toolLifetimeone payment, no renewalNewsheets included as they shipOne-time payment · lifetime access