Add a witness 2 scripts

This commit is contained in:
Quentin 2019-05-09 14:20:47 +02:00
parent 9685885afe
commit 8e8bc52238
2 changed files with 7 additions and 0 deletions

5
scripts/witness2-client Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
mkdir -p ./{res,log}
measlat -h fbx-rennes2.machine.deuxfleurs.fr -p 9000 > /dev/null 2>&1 # Used to wait for connections
measlat -h fbx-rennes2.machine.deuxfleurs.fr -p 9000 -c $1 -i $2 -s $3 > ./res/witness2.csv 2> ./log/client-measlat-stderr.log

2
scripts/witness2-server Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
cat /dev/zero