You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-S, --stats
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).
But even defining that key in my container config results in the lack of memory use:
Host Linux: Ubuntu 20.04 with pure cgroupv2 (
systemd.unified_cgroup_hierarchy=1
)Guest Linux: Ubuntu 19.10
LXC version:
In the Ubuntu default cgroup hierarchy (hybrid),
lxc-info
gives:On the other hand, when Host Linux is in pure cgroupv2,
lxc-info
only givesThis seems related to #3372
systemctl status
gives almost as much information aslxc-info
in the hybrid cgroup hierarchy as follows:The text was updated successfully, but these errors were encountered: