Created
March 20, 2016 22:15
-
-
Save gabhi/b0c106661d126393353b to your computer and use it in GitHub Desktop.
search pid and kill process script
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
ps -ef | grep cassandra | grep -v grep | awk '{print $2}' | xargs kill -9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment