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

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sun Aug 19 12:20:13 CEST 2012


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

Mike Massonnet <mmassonnet at xfce.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmassonnet at xfce.org

--- Comment #1 from Mike Massonnet <mmassonnet at xfce.org> ---
hello paul,

(In reply to comment #0)
> The "mem" value reported by systemload is consistently wrong. The applet
> shows a green bar with a very low value. Hovering mouse over that I see:
> 
> "1596MB of 7962MB used"
> 
> At the same time, the output from "free"
> 
> $ free -m
>              total       used       free     shared    buffers     cached
> Mem:          7962       7763        198          0        521       5557
> -/+ buffers/cache:       1684       6277
> Swap:         7627          0       7627
> 
> Do you see same? If so, how can I help.

the value reported by the plugin corresponds to this calculation:
used = total - cached - buffers - free

the values are read from /proc/meminfo, those values are also reused by the
command free.

can you show the first four lines from meminfo, and provide again the value
reported by the plugin?

for example:
  $  head -4 /proc/meminfo 
MemTotal:        2059664 kB
MemFree:           64808 kB
Buffers:           96288 kB
Cached:          1394900 kB

perhaps the tooltip is not being updated? does it actually change? you can try
to launch or quit an application.

regards,
mike

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


More information about the Goodies-dev mailing list