[go: up one dir, main page]

Menu

#554 Aligns lxpanel memory monitor used calculation with "free" output

-
open-accepted
lxpanel (21)
5
2019-01-13
2019-01-05
No

lxpanel memory monitor displayed a used memory different to "free -m" which is really confusing.

After checking the calculations "free" doesn't consider SReclaimable memory (from /proc/meminfo) to be used.

In this patch lxpanel does the same as "free".

procps "free" suggests that SReclaimable was added in the Kernel 2.6.19. It was released in 2006, if this field doesn't exist the memory monitor displays "0"

1 Attachments

Discussion

  • Carles Pina i Estany

    If this is ok for lxpanel (as attached here) I'll make a similar change in lxtask (so it's aligned with "free" and lxpanel with the attached patch).

     
  • Lonely Stranger

    Lonely Stranger - 2019-01-13
    • labels: --> lxpanel
    • status: open --> open-accepted
    • assigned_to: Lonely Stranger
     
  • Lonely Stranger

    Lonely Stranger - 2019-01-13

    Thank you very much for a patch. Looks fine, added it into GIT sources, will come into next lxpanel release.

     

Log in to post a comment.