diff options
author | Keigo Noha <knoha@redhat.com> | 2017-05-10 17:49:33 +0900 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-03-27 14:43:19 +0100 |
commit | 84b6db71db6cc07248e7d036749f06f7133d2169 (patch) | |
tree | c47afddceff37c101bbad03b83fef141d29e2d28 | |
parent | 5f67a7f6cd532a4dea57a0c8ece51f1734ed8cbe (diff) | |
download | sos-84b6db71db6cc07248e7d036749f06f7133d2169.tar.gz |
[process] Replace stime option to lstart option
stime option doesn't provide consistent formatted data and the
granularity of time scale differs from time to date order. lstart
option provides consistent date/time format and it is easy to find out
when the process starts.
Fixes: #1004
Signed-off-by: Keigo Noha <knoha@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/process.py b/sos/plugins/process.py index ea56349e..50070a57 100644 --- a/sos/plugins/process.py +++ b/sos/plugins/process.py @@ -32,7 +32,7 @@ class Process(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): # 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,stime,tty,time,cmd" + ps_sched_opts += "wchan,tty,lstart,time,cmd" self.add_copy_spec("/proc/sched_debug") self.add_cmd_output("ps auxwww", root_symlink="ps") self.add_cmd_output("pstree", root_symlink="pstree") |