I want to check if one VM is allocated much memory than it needs. If so, want like to recycle some free memory back. how to validate it ? From vmware client,if one VM's guest physical memory usage of one VM is not high and no swap happened, is that meaning we can refer to the ative memory to adjust memory that VM needed ?
and one more question about how to check one VM actually memory details(used,free) ? I ask as sometimes host memory is lower than VM memory,but from system, the total size is VM memory size, and used size is larger than active memory from vsphere client.
eg: one VM
from vsphere client
VM memory 32768MB, host memory 28343, guest memory% 13%.
from system(linux)
[root@ ~]# free -h
total used free shared buff/cache available
Mem: 31G 12G 956M 7.7M 18G 18G
Swap: 1.9G 103M 1.8G
[root@ ~]#