Skip to content

Instantly share code, notes, and snippets.

@dapi
Created August 2, 2019 13:37
Show Gist options
  • Select an option

  • Save dapi/e8203f545a6111d9ec070a5313d8d2cc to your computer and use it in GitHub Desktop.

Select an option

Save dapi/e8203f545a6111d9ec070a5313d8d2cc to your computer and use it in GitHub Desktop.
Kill hanged ruby spring servers
#!/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