[Lxc-users] memory usage?

Ulli Horlacher framstag at rus.uni-stuttgart.de
Fri May 20 06:22:03 UTC 2011


How can I determine how many memory a container uses currently?

memory.usage_in_bytes and memory.memsw.usage_in_bytes shows much too much,
4 times more than the host uses totally.


root at vms2:# cat /cgroup/flupp/memory.usage_in_bytes
4181008384

root at vms2:# cat /cgroup/flupp/memory.memsw.usage_in_bytes
4181008384

root at vms2:# free
             total       used       free     shared    buffers     cached
Mem:       8052808    7837488     215320          0     462508    6320588
-/+ buffers/cache:    1054392    6998416
Swap:      7815580          0    7815580

-- 
Ullrich Horlacher              Server- und Arbeitsplatzsysteme
Rechenzentrum                  E-Mail: horlacher at rus.uni-stuttgart.de
Universitaet Stuttgart         Tel:    ++49-711-685-65868
Allmandring 30                 Fax:    ++49-711-682357
70550 Stuttgart (Germany)      WWW:    http://www.rus.uni-stuttgart.de/




More information about the lxc-users mailing list