Skip to content

Instantly share code, notes, and snippets.

@xiaom
Created Apr 10, 2014
Embed
What would you like to do?
hive-scripts/stop_hive.sh: stop hive service
#!/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