Summary: | ktimemon incorrectly reports the slab usage | ||
---|---|---|---|
Product: | ktimemon | Reporter: | James Stark <jstark> |
Component: | general | Assignee: | Dirk Mueller <mueller> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
James Stark
2006-09-26 21:07:08 UTC
SVN commit 589831 by mueller: fix kernel memory being counted twice. Thanks for the patch! BUG:134704 M +2 -2 sample.cc --- branches/KDE/3.5/kdeaddons/kicker-applets/ktimemon/sample.cc #589830:589831 @@ -423,9 +423,9 @@ sample.stotal = sample.sfree = 0; #endif - sample.cputotal = + sample.cputotal = sample.user + sample.nice + sample.kernel + sample.iowait + sample.idle; - sample.used = sample.mtotal - sample.free - sample.buffers - sample.cached; + sample.used = sample.mtotal - sample.mkernel - sample.free - sample.buffers - sample.cached; sample.sused = sample.stotal - sample.sfree; } |