mirror of
https://github.com/kneutron/ansitest.git
synced 2025-01-30 05:02:54 +08:00
Delete zombieprocs.sh
This commit is contained in:
parent
580cb7f2e0
commit
61148b40d7
@ -1,7 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Linux ps
|
|
||||||
ps ax -o pid,ppid,s,cmd |awk '$3 ~ /Z/'
|
|
||||||
# ^ Print pid, parent pid, State, commandline and only print if 3rd column matches Z = zombie
|
|
||||||
|
|
||||||
# kill -9 on the PARENT pid, should clear them up
|
|
Loading…
x
Reference in New Issue
Block a user