0

After looking at this question I would like to know if those solutions will display the specs of the host machine (and not of the VM that is running)?

Does cat /proc/meminfo, cat /proc/cpuinfo, lshw, etc., show the VM specs, the host machine specs, or a combination of both (like host machine CPU and VM allocated memory)?

rishimaharaj
  • 103
  • 1
  • 6

1 Answers1

4

cat /proc/meminfo will only show data from within your VM.

cat /proc/cpuinfo generally will show the real data from the host system, but depending on the virtualization methods used and the hosts's configuration, there's nothing stopping the hypervisor from modifying the data it presents to your VM.

EEAA
  • 108,414
  • 18
  • 172
  • 242