• Eric Dumazet's avatar
    ss: add more tcp socket diagnostics · 624a06e6
    Eric Dumazet authored
    Display 4 additional tcp socket info fields :
    
    backoff : exponential backoff
    lastsnd : time in milli second since last send
    lastrcv : time in milli second since last receive
    lastack : time in milli second since last acknowledgement
    
    $ ss -ti dst :22
    State       Recv-Q Send-Q                  Local Address:Port
    Peer Address:Port
    ESTAB       0      0                        172.16.5.1:58470
    172.17.131.143:ssh
    	 cubic wscale:7,7 rto:228 rtt:30/20 ato:40 mss:1256 cwnd:6 ssthresh:4
    send 2.0Mbps lastsnd:3480 lastrcv:3464 lastack:3464 rcv_rtt:81.5
    rcv_space:87812
    Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
    624a06e6
ss.c 82.8 KB