Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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)?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

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.

share|improve this answer
    
Is there a way to see the host system stats through the VM? –  rishimaharaj May 9 '12 at 16:43
1  
Generally-speaking, no there isn't. –  EEAA May 9 '12 at 16:43
1  
If you need that information, call your provider and ask them. –  EEAA May 9 '12 at 16:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.