Hi,
lxc containers only show cpu usage of the host node, not the cpu usage of the container itself.
is there any way to fix this or is this not possible due to the way it is virtualized?
also in some containers (i noticed it in debian stretch) the ram usage is also shown wrong, well, kind of.
free -m shows that i use 80MB of RAM and 270MB are shared.
But in htop it adds used and shared ram, so it shows i use 350MB.
Again, is it possible to fix this or not? In debian 8 container there is no such problem, htop shows the correct data, at least for the ram, cpu usage is always the hosts cpu usage.
In openvz virtualization this problems did not appear..
lxc containers only show cpu usage of the host node, not the cpu usage of the container itself.
is there any way to fix this or is this not possible due to the way it is virtualized?
also in some containers (i noticed it in debian stretch) the ram usage is also shown wrong, well, kind of.
free -m shows that i use 80MB of RAM and 270MB are shared.
But in htop it adds used and shared ram, so it shows i use 350MB.
Again, is it possible to fix this or not? In debian 8 container there is no such problem, htop shows the correct data, at least for the ram, cpu usage is always the hosts cpu usage.
In openvz virtualization this problems did not appear..