3 ms·
I'm sure you found these too, but your comment made me want to refresh my memory: For older kernels, there is a ftrace way for tracing retransmits: http://www.
by fulafel 9y ago
I'm sure you found these too, but your comment made me want to refresh my memory:
For older kernels, there is a ftrace way for tracing retransmits: http://www.brendangregg.com/blog/2014-09-06/linux-ftrace-tcp-retransmit-tracing.html http://www.brendangregg.com/blog/2014-09-06/linux-ftrace-tcp...
The oldest are SNMP style counters used by "netstat -s" / "sar -n ETCP" for all retransmits on the system, if you don't need per flow stats.
Ten there's an application level getsockopt TCP_INFO, detailed at: https://linuxgazette.net/136/pfeiffer.html https://linuxgazette.net/136/pfeiffer.html