Created
August 2, 2019 13:37
-
-
Save dapi/e8203f545a6111d9ec070a5313d8d2cc to your computer and use it in GitHub Desktop.
Kill hanged ruby spring servers
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
| #!/usr/bin/env | |
| echo "Kill them all!!!" | |
| ps axfww | grep spring | grep "app\|server" | awk '{ print $1 }' | xargs kill -9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment