[e2e] How to read the TCP congestion window value on Linux?

Patrick McHardy kaber at trash.net
Sat Apr 30 16:53:44 PDT 2005


Antonio Pinizzotto wrote:
> 
> Hi everybody.
> Do you know about any way to read the TCP cwnd value (congestion window) 
> on Linux?

I guess one of the linux networking lists would be a better place
to ask this. Anyway, you can get cwnd through the TCP socket monitoring
interface using the "ss"-tool from iproute2
(http://developer.osdl.org/dev/iproute2) or by getsockopt(TCP_INFO).

Regards
Patrick


More information about the end2end-interest mailing list