[Lxc-users] memory.usage_in_bytes value

Ulli Horlacher framstag at rus.uni-stuttgart.de
Sat May 21 08:31:03 UTC 2011


On Tue 2011-05-17 (12:11), David Touzeau wrote:

> I have a debian running in a container 
> 
> the /cgroup/vps-1/memory.usage_in_bytes display
> 
> 10784768
> 
> 10784768 -> 10Mb memory used.

Probably you want:

root at vms2:/lxc# grep rss /cgroup/flupp/memory.stat 
rss 6094848
total_rss 6094848

root at vms2:/lxc# lxc -l
container              disk (MB)    RAM (MB)   start-PID    status
flupp                      23097           5       19809   running
ubuntu                       515           0           0   stopped
vmtest8                      490           5       17355   running

-- 
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