-h Print usage message.
-T Include a time column on output (HH:MM:SS).
-D Show debug infomation of bpf text.
-m Output histogram in milliseconds.
-i INTERVAL Print output every interval seconds.
-d DURATION Total duration of trace in seconds.
-p LPORT Filter for local port.
-P RPORT Filter for remote port.
-a LADDR Filter for local address.
-A RADDR Filter for remote address.
-b Show sockets histogram by local address.
-B Show sockets histogram by remote address.
-e Show extension summary(average).
-4 Trace IPv4 family only.
-6 Trace IPv6 family only.
Trace TCP RTT and print 1 second summaries, 10 times: # tcprtt -i 1 -d 10
Summarize in millisecond, and timestamps: # tcprtt -m -T
Only trace TCP RTT for remote address 192.168.1.100 and remote port 80: # tcprtt -i 1 -d 10 -A 192.168.1.100 -P 80
Trace local port and show a breakdown of remote hosts RTT: # tcprtt -i 3 --lport 80 --byraddr
Trace IPv4 family only: # tcprtt -4
Trace IPv6 family only: # tcprtt -6
Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool.