All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH iproute2-next v2] ss: show the process column for -T, -Z, and -z
@ 2026-11-30 19:20 Stephen Hemminger
  2026-12-02 16:50 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2026-11-30 19:20 UTC (permalink / raw)
  To: netdev; +Cc: dsahern, Frank Dressler, Stephen Hemminger

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(&current_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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH iproute2-next v2] ss: show the process column for -T, -Z, and -z
  2026-11-30 19:20 [PATCH iproute2-next v2] ss: show the process column for -T, -Z, and -z Stephen Hemminger
@ 2026-12-02 16:50 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-12-02 16:50 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev, dsahern, frank

Hello:

This patch was applied to iproute2/iproute2-next.git (main)
by David Ahern <dsahern@kernel.org>:

On Mon, 30 Nov 2026 11:20:49 -0800 you wrote:
> 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"")
> 
> [...]

Here is the summary with links:
  - [iproute2-next,v2] ss: show the process column for -T, -Z, and -z
    https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=06b62d179bbb

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-12-02 16:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 19:20 [PATCH iproute2-next v2] ss: show the process column for -T, -Z, and -z Stephen Hemminger
2026-12-02 16:50 ` patchwork-bot+netdevbpf

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.