initial commit

This commit is contained in:
Farhad Shahbazi
2016-03-05 16:30:21 +01:00
parent 879fdc14b4
commit acc8f15e9e
18 changed files with 679 additions and 0 deletions

6
files/scripts/zombies Executable file
View 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 }'