1
0
epfl_cs451/bnr.sh

13 lines
313 B
Bash
Raw Normal View History

2020-11-10 16:58:52 +01:00
#!/bin/bash
2020-11-01 20:55:20 +01:00
2020-11-10 16:58:52 +01:00
if [ $# -eq 2 ]; then
export _JAVA_OPTIONS="-Xmx16G"
./257844/build.sh
sudo echo 1
echo "Running with $1 processes and $2 messages"
yes "" | ./validate.py -r 257844/run.sh -b fifo -l 257844/bin/logs -p $1 -m $2
else
echo "Missing Arguments ..."
echo "Usage: $0 process_count message_count"
fi