]> git.proxmox.com Git - mirror_iproute2.git/commit
ss: add more tcp socket diagnostics
authorEric Dumazet <edumazet@google.com>
Wed, 1 Oct 2014 11:17:18 +0000 (04:17 -0700)
committerStephen Hemminger <shemming@brocade.com>
Thu, 9 Oct 2014 15:24:01 +0000 (08:24 -0700)
commit624a06e63f87b8ac7be325ee36322704545fbd85
treeef1aed52b6e8bd850a736c007cb5b8930862c38b
parent68ac9ab339783119e6a8cabfafcd9479094529b0
ss: add more tcp socket diagnostics

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: Eric Dumazet <edumazet@google.com>
misc/ss.c