Created
January 29, 2015 00:47
-
-
Save manuzhang/8ca60a77430ca070a0f4 to your computer and use it in GitHub Desktop.
kill all java processes with the given name
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
jps | grep ${process_name} | cut -d ' ' -f 1 | xargs kill -9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment