Ask Your Question

How to get average rtt out of tcp conversation or import rtt values to the excel?

asked 2018-06-15 00:49:56 +0000


I want to get average rtt information from the certain tcp conversation. I know that is possible to see rtt from TCP Stream Graphs or I/O Graphs and estimate average based on this. But I want an accurate number for it.

And if there is no way get the average rtt in wireshark directly, is there way to import the rtt values used by Graphs to make calculations manually (excel).

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-06-15 05:00:49 +0000

NJL gravatar image


You can use the IO graph with the "tcp.analysis.ack_rtt" display filter in the "Y field", select "AVG(Y Field)" in the "Y Axis" drop-down and choose display filter (to focus on the TCP session of interest), interval, Style etc. as you see fit. If you want to export it to Excel, you can click save As, and select it as .csv and the import it into Excel.

The same can be done using command line, with tshark:

tshark -Y "display-filter to focus on the TCP session of interest" -r <inputfile> -Tfields -e "tcp.analysis.ack_rtt"

This will print the ACK_RTT values and you can then export that to a file and again import it into Excel.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2018-06-15 00:49:56 +0000

Seen: 19 times

Last updated: 2 days ago