diff options
| author | Kumar Damani <kumar.damani@mail.utoronto.ca> | 2018-11-23 22:33:36 +0000 |
|---|---|---|
| committer | Kumar Damani <kumar.damani@mail.utoronto.ca> | 2018-11-23 22:33:36 +0000 |
| commit | 8e5d09a1719045d2d8b39f089e06718df7b2960a (patch) | |
| tree | c764aaf7b0d244d3a8d80df75efa8e2d352d1d9b /code | |
| parent | 62d885720ae1404dfd91ea4638d68ec57f3d4d8e (diff) | |
bash script+ rtt samples from wireshark
Diffstat (limited to 'code')
| -rw-r--r-- | code/rtt/gen_rtt_samples.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/code/rtt/gen_rtt_samples.sh b/code/rtt/gen_rtt_samples.sh new file mode 100644 index 0000000..bf1e7b0 --- /dev/null +++ b/code/rtt/gen_rtt_samples.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +ranks=(1 2 3) +# manually set these two lines +streams=(11 12 8) +outdir="rtt/dur/" + +for i in "${ranks[@]}" +do + echo "getting RTT samples rank ${i}..." + tshark -Y "tcp.stream == ${streams[$((i-1))]}" -r univ1_pt13 -Tfields -e frame.number -e tcp.analysis.ack_rtt -E header=y -E separator=, > $outdir/r${i}.csv + #echo ${ipsa[$((i-1))]} + +done +echo "done" |
