Created
August 11, 2012 06:18
-
-
Save dcosson/3321717 to your computer and use it in GitHub Desktop.
kill zombie procs
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
# a quick shell command to kill all procs matching a grep pattern | |
for i in `ps aux | grep 'manage.py runserver' | grep -v grep | awk '{ printf "%s ", $2 }'` ; do sudo kill $i ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment