mirror of
https://github.com/kneutron/ansitest.git
synced 2025-01-16 04:42:55 +08:00
Add files via upload
This commit is contained in:
parent
f77a8b4f74
commit
662b8a6a44
7
zombieprocs.sh
Normal file
7
zombieprocs.sh
Normal file
@ -0,0 +1,7 @@
|
||||
#!/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