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@vms2:# cat /cgroup/flupp/memory.usage_in_bytes
4181008384

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

root@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: horlac...@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/

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to