root/usr/local/bin/kill_ghosts.sh @ ae5b49b1
1 |
#!/bin/sh
|
---|---|
2 |
# Kill ghost shells
|
3 |
|
4 |
/bin/kill -9 `/bin/ps awux | grep "(sh)" | /usr/bin/grep -v grep | ps awux | grep "(sh)" | grep -v grep | /usr/bin/awk '{ print $2 }'` |
5 |
|