[Goodies-dev] [Bug 9223] incorrect memory value displayed for "mem"

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Aug 21 19:46:04 CEST 2012


https://bugzilla.xfce.org/show_bug.cgi?id=9223

Landry Breuil <landry at xfce.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |landry at xfce.org
           Assignee|frivoal at xfce.org            |landry at xfce.org

--- Comment #3 from Landry Breuil <landry at xfce.org> ---
$echo $(((8153228-386788-334276-5678272)/1024))
1712

-> it matches the 1710 used you see.

As for used/cached vs top/free -m, besides some rounding when dividing by 1024;
if you look at the -/+ buffers/cache line in free -m it more or less matches
the reported value.

It all accounts to what you want to display, if you want to take the
buffers/swap into account... displaying a "memory used" value is very empiric.
The original developer of systemload decided to compute the value this way...

If you take the values from top, and substract buffers and cached from 'mem
used' you end up with the same value.

$echo $(((7767120-5678292-334296)/1024))
1713

So.. not really a bug ?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the Goodies-dev mailing list