Mat*_*man 10
也许ssiproute utils中提供的(socket statistics)util可以帮助你解决这个问题.
# ss -i 'src 1.1.1.1:1234 and dst 2.2.2.2:1234'
State Recv-Q Send-Q Local Address:Port Peer Address:Port
ESTAB 0 0 1.1.1.1:1234 2.2.2.2:1234
reno wscale:2,7 rto:3380 rtt:855/602.5 ato:40 ssthresh:2 send 27.3Kbps rcv_space:5840
Run Code Online (Sandbox Code Playgroud)
如果您想了解更多信息,什么rtt领域是我认为最好是看看ss.c.