]> git.proxmox.com Git - mirror_iproute2.git/commit - misc/ss.c
ss: print new tcp_info fields: busy, rwnd-limited, sndbuf-limited times
authorYuchung Cheng <ycheng@google.com>
Thu, 1 Dec 2016 18:21:40 +0000 (13:21 -0500)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 1 Dec 2016 19:00:28 +0000 (11:00 -0800)
commitb6c7fc61faab047e1ab12d580702358ddc5a1529
treed60040a2589f4c909a920a04947430070acff0a9
parent2f579872fbdca52ef960eb969655adfd55c13308
ss: print new tcp_info fields: busy, rwnd-limited, sndbuf-limited times

Dump some new fields added to tcp_info in v4.10: tcpi_busy_time,
tcpi_rwnd_limited, tcpi_sndbuf_limited.

Example output for a flow busy for 110ms but never measurably limited by
receive window or send buffer:
   busy:110ms

Example output for a flow usually limited by receive window:
   busy:111ms rwnd_limited:101ms(91.0%)

Example output for a flow sometimes limited by send buffer:
   busy:50ms sndbuf_limited:10ms(20.0%)

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com>
misc/ss.c