[Bug 129052] ps(1) %cpu column reports misleading data for threaded programs

bz-noreply at freebsd.org bz-noreply at freebsd.org
Thu Jun 5 14:13:11 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=129052

Ed Maste <emaste at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|In Discussion               |Issue Resolved
         Resolution|---                         |FIXED

--- Comment #1 from Ed Maste <emaste at freebsd.org> ---
Not reproducible on stable/9:

feynman% ps -a -x -p 11 -opid,lwp,comm,tdnam,%cpu
PID    LWP COMMAND TDNAM   %CPU
 11 100010 idle           725.7
feynman% ps -a -x -H -p 11 -opid,lwp,comm,tdnam,%cpu
PID    LWP COMMAND         TDNAM      %CPU
 11 100003 idle/idle: cpu0 idle: cpu0 86.4
 11 100004 idle/idle: cpu1 idle: cpu1 93.2
 11 100005 idle/idle: cpu2 idle: cpu2 89.8
 11 100006 idle/idle: cpu3 idle: cpu3 91.7
 11 100007 idle/idle: cpu4 idle: cpu4 93.3
 11 100008 idle/idle: cpu5 idle: cpu5 88.6
 11 100009 idle/idle: cpu6 idle: cpu6 88.2
 11 100010 idle/idle: cpu7 idle: cpu7 91.1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list