Bug 186017 - RHEL4: Top "Cpu0" line never updates when using "Single Cpu = Off" option on single processor machine
Summary: RHEL4: Top "Cpu0" line never updates when using "Single Cpu = Off" option on ...
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: procps
Version: 4.0
Hardware: i386
OS: Linux
Target Milestone: ---
: ---
Assignee: Karel Zak
QA Contact: Brian Brock
Depends On:
Blocks: 187538
TreeView+ depends on / blocked
Reported: 2006-03-21 01:05 UTC by Karel Zak
Modified: 2007-11-30 22:07 UTC (History)
0 users

Clone Of:
Last Closed: 2006-05-10 22:06:10 UTC

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2006:0365 normal SHIPPED_LIVE procps bug fix update 2006-05-10 04:00:00 UTC

Description Karel Zak 2006-03-21 01:05:15 UTC
+++ 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 kzak@redhat.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 kzak@redhat.com 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!

Comment 6 Red Hat Bugzilla 2006-05-10 22:06:11 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.