On 26 Aug 2004 18:50:15 -0700 Vijay Raghunathan <vijay@ee.ucla.edu> wrote: > Hi, > > I want to monitor the RTT (round trip time) and RTO (retransmission > timeout) of a TCP connection from my Linux (2.4.20) machine to a remote > host. Does anyone know if this information is already exported by the > kernel (through the /proc interface, maybe) or know any simple ways of > extracting this information? > > Thanks, > Vijay > $ /usr/sbin/ss -i State Recv-Q Send-Q Local Address:Port Peer Address:Port CLOSE-WAIT 54 0 172.20.1.60:36722 172.20.1.2:nntp rto:201 rtt:1.875/0.75 ato:40 ESTAB 0 0 172.20.1.60:34782 216.162.208.75:ircd rto:561 rtt:88.25/109.75 ato:40 cwnd:3 ssthresh:2 CLOSE-WAIT 1 0 127.0.0.1:35279 127.0.0.1:ipp rto:205 rtt:5.375/9 ato:40 cwnd:3 Web100 has a /proc interface as well. - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html