diff options
author | Andreas Lindhé <andreas@lindhe.io> | 2017-10-15 08:58:40 +0200 |
---|---|---|
committer | Andreas Lindhé <andreas@lindhe.io> | 2017-10-15 08:58:40 +0200 |
commit | 19f08571283113d8650e07c058d58b5362241ac7 (patch) | |
tree | 0fb9e5c415ce6fcca889a17a9faa1b97f86b8259 /broccoli/script/measure-packets.sh | |
parent | fcac1bc4ccef7bb180d97a47a9f84a097ef70e75 (diff) | |
download | midbro-19f08571283113d8650e07c058d58b5362241ac7.tar.gz midbro-19f08571283113d8650e07c058d58b5362241ac7.tar.bz2 |
Add timestamps to measurements
Diffstat (limited to 'broccoli/script/measure-packets.sh')
-rw-r--r-- | broccoli/script/measure-packets.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/broccoli/script/measure-packets.sh b/broccoli/script/measure-packets.sh index 9db9228..53074ee 100644 --- a/broccoli/script/measure-packets.sh +++ b/broccoli/script/measure-packets.sh @@ -74,12 +74,14 @@ IDLE=$(echo "${IDLECPU}+5.0" | bc); echo "Idle baseload is: $IDLE"; execute_command "killall bro" +echo "Starting time: $(date +'%F_%T')" + echo -ne "sent\t" for SPEED in ${SPEEDS[@]} do echo -ne "${SPEED}\t" done -echo +echo "time" for COUNT in ${COUNTS[@]} do @@ -89,7 +91,7 @@ do COUNT_RECEIVED=$(measure_packets ${SPEED} ${COUNT}) echo -ne "${COUNT_RECEIVED}\t" done - echo + echo "$(date +'%F_%T')" done execute_command "rm -rf \"${BRO_DIR}\"" |