Memory usage not correct

Issue #464 closed
Former user created an issue

I have configure monit on my Linux server, it's a very small basic setup to start with. I see discrepancy in data displayed by monit and Linux top/Free command

Monit data :-

Memory usage    2.5 GB [7.9%]

Free command data : -

free -s3 c5 -h 
             total       used       free     shared    buffers     cached
Mem:           31G        26G       4.4G       480K       889M        20G
-/+ buffers/cache:       5.0G        26G
Swap:          31G       179M        31G

Comments (2)

  1. Tildeslash repo owner

    Monit shows memory usage based on /proc/meminfo ... physical memory size - (MemFree + Buffers + Cached + SReclaimable)

    The SReclaimable is not displayed be "free" utility.

  2. Log in to comment