* [PATCH iproute2] ss: show the process column for -T, -Z, and -z
@ 2026-11-21 22:50 Frank Dressler
2026-11-24 21:41 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: Frank Dressler @ 2026-11-21 22:50 UTC (permalink / raw)
To: netdev; +Cc: stephen
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>
---
misc/ss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/misc/ss.c b/misc/ss.c
index f4160f59..b5430a01 100644
--- a/misc/ss.c
+++ b/misc/ss.c
@@ -5787,7 +5787,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)
columns[COL_PROC].disabled = 1;
if (!show_queues) {
base-commit: 87cb3f4198507331b9308689d4a726d17db63dd3
--
2.56.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH iproute2] ss: show the process column for -T, -Z, and -z
2026-11-21 22:50 [PATCH iproute2] ss: show the process column for -T, -Z, and -z Frank Dressler
@ 2026-11-24 21:41 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2026-11-24 21:41 UTC (permalink / raw)
To: Frank Dressler; +Cc: netdev
On Sat, 21 Nov 2026 22:50:31 +0000
Frank Dressler <frank@dressler.pro> wrote:
> 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>
The man page is not the source of truth here. Seems to me that adding another
column without an arg is going to upset some people.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-24 21:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-21 22:50 [PATCH iproute2] ss: show the process column for -T, -Z, and -z Frank Dressler
2026-11-24 21:41 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox