How to check vm and host memory usage

Dear all,

I have install LXD cluster on two PI on Ubuntu core os.
I am not able to see what is real memory usage via command free -m or top,htop.
How can I see how much memory is used ?

Example:

From physical server
papa1980a@localhost:~$ free -m
total used free shared buff/cache available
Mem: 3791 420 403 12 2967 3321
Swap: 0 0 0
papa1980a@localhost:~$

I have 3791 total memory how user + free give that.

From lxc container

root@web1:~# free -m

          total        used        free      shared  buff/cache   available

Mem: 3791 2205 193 34 1392 1501
Swap: 0 0 0
root@web1:~#

other container

root@chief-kiwi:~# free -m
total used free shared buff/cache available
Mem: 3791 427 394 12 2969 3314
Swap: 0 0 0
root@chief-kiwi:~#

and other one

root@redmail:~# free -m
total used free shared buff/cache available
Mem: 3791 2204 219 34 1367 1511
Swap: 0 0 0
root@redmail:~#

Best regards,
Nikola