Sometimes we have to kill process on linux server.
Usually we use kill -9 [pid]
.
However, this command can cause some problems.
When we terminate process forcibly, the job or data can be damaged.
So I recommand kill -15 [pid]
, instead of kill -9 [pid]
.
kill -15 [PID]
It kills process after terminating job in order, safely.