Most people do not understand the difference between a kill -9 and 15!

kill -9 PID operating system is forced to kill a process from the kernel level.

kill -15 PID can be understood as the operating system sends a notification to tell the initiative to close the application.

Effect SIGNTERM (15) is a normal process exits may be blocked or callback handler before exiting. And it is the default Linux interrupt signal.



Guess you like

Origin www.cnblogs.com/liuyang-93/p/12609859.html