[DragonFlyBSD - Bug #2447] TOP isn't reporting correctly CPU states without -M

John Marino via Redmine bugtracker-admin at leaf.dragonflybsd.org
Wed Nov 14 23:34:10 PST 2012


Issue #2447 has been updated by John Marino.


If you take "top" to only apply to CPU#1, doesn't the report then seem correct?

Does the manpage say it will average these values across CPUs when "-M" isn't used or are you just assuming it should be doing that?
----------------------------------------
Bug #2447: TOP isn't reporting correctly CPU states without -M
http://bugs.dragonflybsd.org/issues/2447

Author: Charles Rapenne
Status: New
Priority: Normal
Assignee: 
Category: 
Target version: 


Hello,

The top command isn't reporting the line "CPU states" correctly on my dual core laptop.

With the command "top", if a thread is eating 1 CPU, top reports 0.0% idle and 100% in user, it should displays 50% idle and 50% user
With the command "top -M", if a thread is eating 1 CPU, top reports 0.0% idle and 100% in user on CPU0, and 100.0% idle on CPU1, this is the correct one

On the screenshot attached, on the right you can see top -M and on the left, top. The command without -M seems to show only CPU0


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list