How does landscape calculate memory usage?

Posted by David Planella on Ask Ubuntu See other posts from Ask Ubuntu or by David Planella
Published on 2012-11-29T10:12:41Z Indexed on 2012/11/29 23:20 UTC
Read the original article Hit count: 445

Filed under:
|
|

I'm trying to debug an OOM situation in an Ubuntu 12.04 server, and looking at the Memory graphs in Landscape, I noticed that there wasn't any serious memory usage spike. Then I looked at the output of the free command and I wasn't quite sure how both memory usage results relate to each other.

Here's landscape's output on the server:

$ landscape-sysinfo 
  System load:  0.0               Processes:           93
  Usage of /:   5.6% of 19.48GB   Users logged in:     1
  Memory usage: 26%               IP address for eth0: -
  Swap usage:   2%

Then I ran the free command and I get:

$ free -m
             total       used       free     shared    buffers     cached
Mem:           486        381        105          0          4        165
-/+ buffers/cache:        212        274
Swap:          255          7        248

I can understand the 2% swap usage, but where does the 26% memory usage come from?

© Ask Ubuntu or respective owner

Related posts about server

Related posts about memory