Red Hat Bugzilla – Bug 186017
RHEL4: Top "Cpu0" line never updates when using "Single Cpu = Off" option on single processor machine
Last modified: 2007-11-30 17:07:24 EST
+++ This bug was initially created as a clone of Bug #185994 +++
By default, top displays a CPU usage summary for all CPUs on a single line, e.g.:
Cpu(s): 1.0% us, 0.0% sy, 0.0% ni, 99.0% id, 0.0% wa, 0.0% hi, 0.0% si
Pressing "1" changes this to display separate lines for each CPU, e.g. for a
single processor machine:
Cpu0 : 12.2% us, 3.2% sy, 0.0% ni, 84.7% id, 0.0% wa, 0.0% hi, 0.0% si
The problem is that on non-SMP boxes the top never updates this Cpu0 line.
-- Additional comment from email@example.com on 2006-03-20 19:53 EST --
Ah.. you're right. Nobody complains probably because nobody on non-SMP uses
"list of CPUs" :-)
-- Additional comment from firstname.lastname@example.org on 2006-03-20 20:00 EST --
BTW, I think this problem is valid for all 3.x procps versions and probably
exists pretty long time. Good catch!
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.