Signals are async notifications sent to processes (e.g., terminate, reload, stop).
SIGTERM (15): graceful stop (default for kill)SIGKILL (9): immediate stop (cannot be caught)SIGHUP (1): hangup; often means “reload config”SIGINT (2): interrupt (Ctrl+C)SIGSTOP / SIGTSTP: stop (cannot/can be caught)SIGCONT: continuekill -TERM 1234
kill -KILL 1234
kill -HUP 1234
By name:
pkill -TERM nginx
killall -HUP nginx
ps -o pid,stat,cmd -p 1234
cat /proc/1234/status | grep -E 'State|Sig'
Systemd usually sends SIGTERM then waits TimeoutStopSec and escalates.