Created
August 22, 2012 08:58
-
-
Save paaloeye/3423879 to your computer and use it in GitHub Desktop.
Force shutdown all worker on a node
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for pid in $(ps ax | grep unicorn | grep -v grep | awk '{ print $1 }'); do sudo kill -9 $pid; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment