From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: [RFC iproute2-next 0/5] ss statistics fixes Date: Wed, 2 May 2018 13:27:56 -0700 Message-ID: <20180502202801.5255-1-stephen@networkplumber.org> Cc: Stephen Hemminger To: netdev@vger.kernel.org Return-path: Received: from mail-pf0-f177.google.com ([209.85.192.177]:41157 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751294AbeEBU2E (ORCPT ); Wed, 2 May 2018 16:28:04 -0400 Received: by mail-pf0-f177.google.com with SMTP id v63so12740183pfk.8 for ; Wed, 02 May 2018 13:28:04 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: From: Stephen Hemminger 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(-) -- 2.17.0