add back kill_node.sh

Signed-off-by: Leo Chen <leo@harmony.one>
pull/69/head
Leo Chen 6 years ago
parent 24ea87f1de
commit 3a060dc5e4
  1. 5
      kill_node.sh

@ -0,0 +1,5 @@
for pid in `/bin/ps -fu $USER| grep "benchmark\|txgen\|soldier\|commander\|profiler" | grep -v "grep" | awk '{print $2}'`;
do
echo 'Killed process: '$pid
kill -9 $pid
done
Loading…
Cancel
Save