#!/bin/bash
mkdir -p $4/{log,shared}
cd $4/shared
measlat -t tor -p 7500 -l -i $1 -s $2 -c $3 > ../log/server-measlat-stdout.log 2> ../log/server-measlat-stderr.log