Created
September 27, 2013 08:13
-
-
Save tkuchiki/6725544 to your computer and use it in GitHub Desktop.
ps & awk & kill で 複数プロセスを一気に kill
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
ps aux | grep http[d] | awk '{ print "kill -9", $2}' | sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment