blob: 0ad462ec123c9885ac8a0f8e1740f0e1e580209d (
plain) (
tree)
|
|
#!/bin/bash
rep=({0..3})
if [[ $# -gt 0 ]]; then
rep=($@)
fi
for i in "${rep[@]}"; do
echo "starting replica $i"
#valgrind --leak-check=full ./examples/hotstuff-app --conf hotstuff-sec${i}.conf > log${i} 2>&1 &
#gdb -ex r -ex bt -ex q --args ./examples/hotstuff-app --conf hotstuff-sec${i}.conf > log${i} 2>&1 &
./examples/hotstuff-app --conf ./hotstuff-sec${i}.conf > log${i} 2>&1 &
done
wait
|