diff options
Diffstat (limited to 'code/rtt/gen_rtt_samples.sh')
| -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" |
