Skip to content

RFC ss statistics fixes

Stephen Hemminger netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ss: make args to get_snmp_int constmisc/ss.c+1 -10 replies
2/5ss: make tcp_mem longmisc/ss.c+2 -22 replies
3/5ss: use sockstat to get TCP bind portsmisc/ss.c+4 -60 replies
4/5ss: don't look for skbuff_head_cachemisc/ss.c+0 -20 replies
5/5ss: use correct slab statisticsmisc/ss.c+11 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC iproute2-next 0/5] ss statistics fixes

From: Stephen Hemminger <[email protected]>

The output of the ss -s command has been broken for a long time because of kernel changes (ie since 2.6).

This is an attempt to resolve most of the issues. Still don't like the way it is using slabinfo to get the data but some of this information would be expensive for kernel to account for otherwise.

Stephen Hemminger (5):
ss: make args to get_snmp_int const
ss: make tcp_mem long
ss: use sockstat to get TCP bind ports
ss: don't look for skbuff_head_cache
ss: use correct slab statistics

 misc/ss.c | 39 +++++++++++++++++----------------------
 1 file changed, 17 insertions(+), 22 deletions(-)
Signature · 1 line
2.17.0