Created
November 25, 2013 23:19
-
-
Save lastobelus/7650673 to your computer and use it in GitHub Desktop.
kill currently running unicorns
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
# assuming alias pgrep="ps axu | grep -v 'grep' | grep " | |
kill `pgrep "unicorn master" | awk '{print $2}' | tr "\n" " "` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment