[lxc-users] command "free" show different values on host and container
littlebat
dashing.meng at gmail.com
Tue Jun 27 00:20:18 UTC 2017
The host and container has the different version of "free", read "man free"
in each of them.
On 2 June 2017 at 00:42, Denis Bozhok <kron at ostrovok.ru> wrote:
> Hello!
> There is some strange problem.
> When I'm typing "free" on the host, I've got a result:
>
> free -g
> total used free shared buff/cache
> available
> Mem: 251 26 15 0 210
> 224
> Swap: 0 0 0
>
> But when I'm executing it inside the container on this host the result is
> different:
>
> free -g
> total used free shared buffers cached
> Mem: 251 234 17 0 0 0
> -/+ buffers/cache: 234 17
> Swap: 0 0 0
>
>
> Versions:
> lxc version
> 2.0.5
>
> Host system: Ubuntu 16.04
> Container: Ubuntu 14.04
>
> Kernel: 4.4.0-36-generic
>
> Thanks to everyone!
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170627/239abcb3/attachment.html>
More information about the lxc-users
mailing list