add zombies function

master
Ben Harris 2019-06-25 00:52:54 -04:00
parent 331a8d5ed2
commit 166eae6fd6
1 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
function zombies
ps -A -ostat,ppid | awk '/[zZ]/ && !a[$2]++ {print $2}'
end