initial commit
This commit is contained in:
6
files/scripts/zombies
Executable file
6
files/scripts/zombies
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
# zombies - list all zombies and their parents to kill
|
||||
|
||||
ps f -eo state,pid,ppid,comm | awk '
|
||||
{ cmds[$2] = $NF }
|
||||
/^Z/ { print $(NF-1) "/" $2 " zombie child of " cmds[$3] "/" $3 }'
|
||||
Reference in New Issue
Block a user