diff --git a/kill_node.sh b/kill_node.sh index f53b1c4fd..9f8994133 100755 --- a/kill_node.sh +++ b/kill_node.sh @@ -1,4 +1,4 @@ -for pid in `/bin/ps -fu $USER| grep "slave.go\|slave -port\|leader\|benchmark|txgen" | grep -v "grep" | awk '{print $2}'`; +for pid in `/bin/ps -fu $USER| grep "slave.go\|slave -port\|leader\|benchmark\|txgen" | grep -v "grep" | awk '{print $2}'`; do echo 'Killed process: '$pid kill -9 $pid