The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
woop/kill_node.sh

6 lines
202 B

for pid in `/bin/ps -fu $USER| grep "slave.go\|slave -port\|leader\|benchmark_main\|transaction_generator" | grep -v "grep" | awk '{print $2}'`;
do
echo 'Killed process: '$pid
kill -9 $pid
done