From 303446bdea61de35e116d870e4b7d2a5d8b67e23 Mon Sep 17 00:00:00 2001 From: Pavel Moravec Date: Tue, 19 Mar 2024 13:04:49 +0100 Subject: [process] ps output to collect also psr column Collect also processor ID assigned to the process (psr). Resolves: #3575 Signed-off-by: Pavel Moravec --- sos/report/plugins/process.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sos/report/plugins/process.py b/sos/report/plugins/process.py index 3486d1cd..4a0e9580 100644 --- a/sos/report/plugins/process.py +++ b/sos/report/plugins/process.py @@ -34,8 +34,8 @@ class Process(Plugin, IndependentPlugin): ps_axo = "ps axo" # process group and thread options ps_group_opts = "pid,ppid,user,group,lwp,nlwp,start_time,comm,cgroup" - ps_sched_opts = "flags,state,uid,pid,ppid,pgid,sid,cls,pri,addr,sz," - ps_sched_opts += "wchan:20,lstart,tty,time,cmd" + ps_sched_opts = "flags,state,uid,pid,ppid,pgid,sid,cls,pri,psr,addr," + ps_sched_opts += "sz,wchan:20,lstart,tty,time,cmd" self.add_copy_spec([ "/proc/sched_debug", -- cgit