From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Brivio Subject: [PATCH iproute2 net-next 0/3] ss: Allow selection of columns to be displayed Date: Tue, 30 Oct 2018 16:05:17 +0100 Message-ID: Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: "Yoann P." , Stephen Hemminger , netdev@vger.kernel.org To: David Ahern Return-path: Received: from mx1.redhat.com ([209.132.183.28]:57722 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726135AbeJ3X7W (ORCPT ); Tue, 30 Oct 2018 19:59:22 -0400 Sender: netdev-owner@vger.kernel.org List-ID: Now that we have an abstraction for columns, it's relatively easy to selectively display only some of them, and Yoann has a use case for it. Patch 1/3 fixes a rendering issue that shows up only when display of arbitrary columns is disabled. Patch 2/3 implements the relevant option, and patch 3/3 makes the output more readable when some columns are disabled. Stefano Brivio (3): ss: Discard empty descriptor at the end of buffer, if any, before rendering ss: Introduce option to display selected columns only ss: Beautify output when arbitrary columns are hidden man/man8/ss.8 | 5 +++ misc/ss.c | 85 +++++++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 77 insertions(+), 13 deletions(-) -- 2.19.1