SimpleEventBuilder/simulation.sh

17 lines
271 B
Bash
Executable File

#!/bin/bash
list=(1 10 20 30 40 50 100 500)
echo starting
for t in ${list[@]}; do
./evBuild.out 7777 5 200 $t &
pid=$!
sleep 2
./spawn_clients.sh "127.0.0.1" 7777 5 200
echo $pid
wait $pid
kill $pid
sleep 1
echo "new iteration"
done