Skip to content

Instantly share code, notes, and snippets.

@bay007
Forked from jvorcak/killgunicorn.sh
Created January 7, 2020 01:36
Show Gist options
  • Save bay007/5702346b7b4623e50f3899ff45fe5e11 to your computer and use it in GitHub Desktop.
Save bay007/5702346b7b4623e50f3899ff45fe5e11 to your computer and use it in GitHub Desktop.
Kill gunicorn with all of the workers
alias killgunicorn="ps aux | grep gunicorn | awk '{print $2;}' | xargs kill -9 2>/dev/null"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment