[Linux] kill -15 (is better than -9)

Judy·2023년 1월 29일
0

Dev

목록 보기
7/7
post-custom-banner

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.

profile
NLP Researcher

0개의 댓글