kill #
kill -9 与 kill 的区别 #
- kill 等于 kill -15,是安全的
- TERM
- kill -9 是不安全的
- SIGKILL
kill
aka kill -TERM
aka kill -15
is the safe and correct way of terminating a process.
It’s equivalent to safely shutting down a computer.
kill -9
is the unsafe way of brutally murdering a process.
It’s equivalent to pulling the power cord, and may cause data corruption.
参考:
叶王 © 2013-2024 版权所有。如果本文档对你有所帮助,可以请作者喝饮料。