본문 바로가기

linux

SIGTERM vs SIGKILL

SIGTERM 
- handling 가능
- handling을 통해 gracefully 하게 process 종료 가능
- child process 종료되지 않음. 하지만, handler를 통해 자식 process 종료 가능

 

SIGKILL
- handling 불가능
- process 즉시 종료
- child process 종료되지 않음 -> Zombie process 위험

 

 

참고
https://linuxhandbook.com/sigterm-vs-sigkill/

 

'linux' 카테고리의 다른 글

Grub 으로 Default Kernel 설정하기  (0) 2023.11.14
apt remove vs purge  (0) 2021.02.15