Skip to content

Instantly share code, notes, and snippets.

@hjst
Created Sep 3, 2010
Embed
What would you like to do?
ps -A -ostat,ppid,pid,cmd | grep -e '^[Zz]'
sudo kill -HUP `ps -A -ostat,ppid,pid,cmd | grep -e '^[Zz]' | awk '{print $2}'`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment