[lxc-users] cpu, memory and IO statistics measuring from inside a container
Serge Hallyn
serge.hallyn at ubuntu.com
Thu Mar 13 16:47:42 UTC 2014
Quoting Flo (florian.engelmann at gmail.com):
> Hi,
>
> is there any way to measure statistics regarding cpu usage (load and
> utilization) memory usage and block IO from inside a container? I was
> not able to manage this topic. Is it possible to mount
> /sys/fs/cgroup/cpuacct/lxc/<containername> to some place inside the
Sure. For one thing you can just do
lxc.mount.auto = cgroup:mixed
to get the full cgroup trees mounted inside the container.
> container??? Are there any collectd, statsd or Nagios plugins to get
> some statistics?
Not yet that I know of. Please let us know if you write some.
> Thank you for any help!
>
> Regards,
> Flo
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
More information about the lxc-users
mailing list