F
fieldtrip
Guest
Hi all,
Let's pretend that I have a process with a PID of 12345. I have been told that if I run the following:
that kill will elevate in priority due to the assignment of the non-default nice value (via -n) and then preform a hard kill.
My line of thinking is that a "hard kill" is kill -9, whereas the default for kill is -15. My question is that if no switch is given for the "kill level" with the above command, will it give the equivalent of a -9 or -15 kill? Furthermore, how can I test this myself? In other words, how can I kill a process and then determine whether it was killed with SIGKILL or SIGTERM?
Let's pretend that I have a process with a PID of 12345. I have been told that if I run the following:
Code:
kill -n20 12345
that kill will elevate in priority due to the assignment of the non-default nice value (via -n) and then preform a hard kill.
My line of thinking is that a "hard kill" is kill -9, whereas the default for kill is -15. My question is that if no switch is given for the "kill level" with the above command, will it give the equivalent of a -9 or -15 kill? Furthermore, how can I test this myself? In other words, how can I kill a process and then determine whether it was killed with SIGKILL or SIGTERM?