[Bug 125] New: procps/top: Incorrect summary CPU percentage utilization on 2.4 kernels
bugzilla at busybox.net
bugzilla at busybox.net
Mon Feb 23 17:11:34 UTC 2009
https://bugs.busybox.net/show_bug.cgi?id=125
Target: linux-mips
Build: 1.13.2
Summary: procps/top: Incorrect summary CPU percentage utilization
on 2.4 kernels
Product: Busybox
Version: 1.13.x
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: Other
AssignedTo: unassigned at busybox.net
ReportedBy: lly.dev at gmail.com
CC: busybox-cvs at busybox.net
Estimated Hours: 0.0
Created an attachment (id=71)
--> (https://bugs.busybox.net/attachment.cgi?id=71)
Fix
I got an incorrect summary CPU percentage utilization with "top" utility in
busybox 1.13.2 (even with latest patches from 2009-02-14) builded for MIPS32
platform on 2.4.37 Linux kernel & uClibc 0.9.29.
Example of top output:
=================================================================
Mem: 18344K used, 11836K free, 0K shrd, 2320K buff, 7064K cached
CPU: 300% usr2700% sys 0% nic47500% idle 0% io 0% irq 0% sirq
Load average: 0.07 0.07 0.07 1/37 392
PID PPID USER STAT VSZ %MEM %CPU COMMAND
=================================================================
Sample content of /proc/stat:
=================================================================
cpu 127 0 846 22406
cpu0 127 0 846 22406
page 1840 0
swap 0 0
intr 24436 0 0 0 48 1009 0 0 23379 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
disk_io:
ctxt 2285
btime 4294967292
processes 155
=================================================================
Patch attached, solves the problem.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list