Created
April 10, 2014 19:26
-
-
Save xiaom/10414541 to your computer and use it in GitHub Desktop.
hive-scripts/stop_hive.sh: stop hive service
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
#!/bin/sh | |
# Stop Hive (kill all process owened by user 'hive') | |
ps aux | awk '{print $1,$2}' | grep hive | awk '{print $2}' | xargs kill >/dev/null 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment