From: Stephen Hemminger <stephen@networkplumber.org>
To: netdev@vger.kernel.org
Cc: dsahern@kernel.org, Frank Dressler <frank@dressler.pro>,
Stephen Hemminger <stephen@networkplumber.org>
Subject: [PATCH iproute2-next v2] ss: show the process column for -T, -Z, and -z
Date: Mon, 30 Nov 2026 11:20:49 -0800 [thread overview]
Message-ID: <20261130192107.609216-1-stephen@networkplumber.org> (raw)
From: Frank Dressler <frank@dressler.pro>
The process column was disabled unless -p was passed. However,
ss with -T, -Z, and -z still collects the information, and the
man page requires them to show it without -p.
Fixes: 84c45b8acb30 ("Reapply "ss: prevent "Process" column from being printed unless requested"")
Signed-off-by: Frank Dressler <frank@dressler.pro>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
rebased for iproute2-next move of ss
ss/ss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ss/ss.c b/ss/ss.c
index f66c0685..0a141768 100644
--- a/ss/ss.c
+++ b/ss/ss.c
@@ -539,7 +539,7 @@ int main(int argc, char *argv[])
if (ssfilter_parse(¤t_filter.f, argc, argv, filter_fp))
usage();
- if (!show_processes)
+ if (!show_processes && !show_threads && !show_proc_ctx && !show_sock_ctx)
field_disable(COL_PROC);
if (!show_queues) {
--
2.53.0
next reply other threads:[~2026-11-30 19:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 19:20 Stephen Hemminger [this message]
2026-12-02 16:50 ` [PATCH iproute2-next v2] ss: show the process column for -T, -Z, and -z patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261130192107.609216-1-stephen@networkplumber.org \
--to=stephen@networkplumber.org \
--cc=dsahern@kernel.org \
--cc=frank@dressler.pro \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.