Mailinglist Archive: opensuse-bugs (4173 mails)

< Previous Next >
[Bug 514638] New: `top' (part of procps package) does not honour `S' (cumulative mode) for %CPU
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 19 Jun 2009 03:28:10 -0600
  • Message-id: <bug-514638-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>

Summary: `top' (part of procps package) does not honour `S'
(cumulative mode) for %CPU
Classification: openSUSE
Product: openSUSE 10.3
Version: Final
Platform: PC
OS/Version: openSUSE 10.3
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: phdm@xxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---

Created an attachment (id=299210)
--> (
[PATCH] top : make %CPU cumulative-mode aware

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:
Gecko/2009060200 SUSE/3.0.11-5.2 Firefox/3.0.11

Some of my workmates managed to create bash scripts spawning a multitude
of small short-lived processes. Although `top' showed a total of 65%us +
25%sy, none of those small processes, nor the bash scripts appeared in the
default top window, where %CPU is the sort key. When switching to `cumulative
mode', they did not appear either. They only appeared when I switched to

Here is a small patch I wrote to make %CPU `cumulative mode' aware.

I even wonder if `cumulative mode' should not be the default mode, to
make such programmers, or the poor guy who's called to debug a running
system aware of such mistakes.

Reproducible: Always

Steps to Reproduce:

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >