summaryrefslogtreecommitdiffstats
path: root/usr/local/bin/kill_ghosts.sh
blob: 51ceda4931d4daa969a4abbfb71eca88c89a6650 (plain)
1
2
3
4
5
#!/bin/sh
# Kill ghost shells

/bin/kill -9 `/bin/ps awux | grep "(sh)" | /usr/bin/grep -v grep | /usr/bin/cut -d" " -f5`

OpenPOWER on IntegriCloud