diff options
author | Hritik Vijay <hritikxx8@gmail.com> | 2019-11-13 03:57:02 +0530 |
---|---|---|
committer | Stephen Hemminger <stephen@networkplumber.org> | 2019-11-14 09:20:14 -0800 |
commit | 5883c6eba5173745eeb4e5467c59dd34d415bd7e (patch) | |
tree | ae843fdc888bcad039caf34a8fdf6fa5a3a4cd5e /misc/ss.c | |
parent | 130f549604a871933d7d52e30bae5958de188dcb (diff) | |
download | iproute2-5883c6eba5173745eeb4e5467c59dd34d415bd7e.tar.gz |
ss: show header for --processes/-p
ss by default shows headers for every column but omits it for --processes
for no apparent reason. This patch adds the "Process" header.
Signed-off-by: Hritik Vijay <hritikxx8@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Diffstat (limited to 'misc/ss.c')
-rw-r--r-- | misc/ss.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -133,6 +133,7 @@ enum col_id { COL_RADDR, COL_RSERV, COL_EXT, + COL_PROC, COL_MAX }; @@ -160,6 +161,7 @@ static struct column columns[] = { { ALIGN_LEFT, "Port", "", 0, 0, 0 }, { ALIGN_RIGHT, "Peer Address:", " ", 0, 0, 0 }, { ALIGN_LEFT, "Port", "", 0, 0, 0 }, + { ALIGN_LEFT, "Process", "", 0, 0, 0 }, { ALIGN_LEFT, "", "", 0, 0, 0 }, }; |