From: W. Trevor King Date: Fri, 27 Apr 2012 13:27:14 +0000 (-0400) Subject: Add killing-defunct-processes post. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f4744187b74d915e45c32a5b8c8122b560604a08;p=blog.git Add killing-defunct-processes post. --- diff --git a/posts/Killing_defunct_processes.mdwn b/posts/Killing_defunct_processes.mdwn new file mode 100644 index 0000000..9481ef6 --- /dev/null +++ b/posts/Killing_defunct_processes.mdwn @@ -0,0 +1,16 @@ +[Allen Rueter][AR] [points out][ref] that one way to kill a defunct +process is to kill its parent or child: + + # ps -ef | grep '\|PPID' + UID PID PPID C STIME TTY TIME CMD + zzz 13868 1 0 0:00 + # ps -ef | grep '13868\|PPID' + UID PID PPID C STIME TTY TIME CMD + zzz 13868 1 0 0:00 1 + zzz 16596 13868 0 0:00 a.out + # kill -9 16596 + +[AR]: http://www.cts.wustl.edu/~allen/ +[ref]: http://www.cts.wustl.edu/~allen/kill-defunct-process.html + +[[!tag tags/linux]]