Hello,
For the command lxc-info
, I’m trying to find out how is Memory use
entry calculated or what’s the source it takes from?
I compared with /proc/meminfo
, and none of the numbers match.
Any help is appreciated. Thanks.
Hello,
For the command lxc-info
, I’m trying to find out how is Memory use
entry calculated or what’s the source it takes from?
I compared with /proc/meminfo
, and none of the numbers match.
Any help is appreciated. Thanks.
Hi!
You would need a tool that understands containers or understands control groups (which relate to containers).
Therefore, use
systemd-cgtop
You can hit ? for help, p to sort by path, etc.
If your container is called mycontainer, then look at the memory for /lxc.payload/mycontainer.