Fix kill_node.sh after the recent change

pull/16/head
Rongjian Lan 7 years ago
parent 233ba8f42c
commit 09160b20cf
  1. 2
      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 do
echo 'Killed process: '$pid echo 'Killed process: '$pid
kill -9 $pid kill -9 $pid

Loading…
Cancel
Save