Parallel Programming - Stuff happened
[matches/honours.git] / research / TCS / pressure / poll_pressure.sh
1 #!/bin/bash
2
3 cd "/home/sam/Documents/University/honours/research/TCS/pressure"
4
5 if [ "$1" == "" ]; then
6         wait="0"
7 else
8         wait=$1
9 fi
10
11 start=$(date +%s.%N)
12 while true; do
13         echo $(python -c "print(str($(date +%s.%N) - $start))") $(./get_pressure.sh)
14         sleep $wait     
15 done

UCC git Repository :: git.ucc.asn.au