Ravi Sir's Cards › AWS
kill vs kill -9
This comparison card contrasts kill and kill -9. kill is described as polite SIGTERM. kill -9 is described as forced SIGKILL. The card pairs kill with always first, and kill -9 with only if stuck.
Read card text
What this card says
Stop
kill
Polite SIGTERM.
kill -9
Forced SIGKILL.
Key points
App can clean up.
No cleanup at all.
Example
kill 4121
Use when
Always first.
Only if stuck.