Created
June 17, 2020 13:16
-
-
Save andrewp-as-is/6a366d5e10265cfbaf92cce0120a4557 to your computer and use it in GitHub Desktop.
gunicorn kill processes
This file contains 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 bash | |
ps aux | grep gunicorn | awk '{print $2;}' | xargs kill -9 2>/dev/null | |
ps aux | grep gunicorn | awk '{print $2;}' | xargs kill -9 2>/dev/null | |
ps aux | grep gunicorn | awk '{print $2;}' | xargs kill -9 2>/dev/null | |
ps aux | grep python | 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