Skip to content

Instantly share code, notes, and snippets.

@paaloeye
Created August 22, 2012 08:58
Show Gist options
  • Save paaloeye/3423879 to your computer and use it in GitHub Desktop.
Save paaloeye/3423879 to your computer and use it in GitHub Desktop.
Force shutdown all worker on a node
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