Skip to content

Instantly share code, notes, and snippets.

@justdoit0823
Last active August 18, 2020 03:44
Show Gist options
  • Save justdoit0823/d9d822ea4accd2a6ad58680730716a76 to your computer and use it in GitHub Desktop.
Save justdoit0823/d9d822ea4accd2a6ad58680730716a76 to your computer and use it in GitHub Desktop.
Analysis tcp rtt or rto with tshark.
# rtt
tshark -r tcpdump_outfile -Tfields -e frame.time_relative -e tcp.analysis.ack_rtt|awk -F'\t' 'length($2) > 0 {print $2}'
# rto
tshark -r tcpdump_outfile -Tfields -e frame.time_relative -e tcp.analysis.rto|awk -F'\t' 'length($2) > 0 {print $2}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment