]> @LXC_GENERATE_DATE@ lxc-info 1 lxc-info query information about a container lxc-info -n name -c KEY -s -p -i -S -H Description lxc-info queries and shows information about a container. Options Print a configuration key from the container. This option may be given multiple times to print out multiple key = value pairs. Just print the container's state. Just print the container's pid. Just print the container's IP addresses. Just print the container's statistics. Note that for performance reasons the kernel does not account kernel memory use unless a kernel memory limit is set. If a limit is not set, lxc-info will display kernel memory use as 0. A limit can be set by specifying lxc.cgroup.memory.kmem.limit_in_bytes = number in your container configuration file, see lxc.conf 5 . Print the container's statistics in raw, non-humanized form. The default is to print statistics in humanized form. &commonoptions; Examples lxc-info -n foo Show information for foo. lxc-info -n 'ubuntu.*' Show information for all containers whose name starts with ubuntu. lxc-info -n foo -c lxc.net.0.veth.pair prints the veth pair name of foo. &seealso; Author Stéphane Graber stgraber@ubuntu.com