I was wondering if there is any tools that can be used inside of a VM and is aware of working in virtualized environment. It can be little misleading using Linux top tool without regarding limits of CPU and memory setting. Maybe some interesting data can be gatherer with VMTools assist ?
|
feedback
|
|
No, as of right now, the host performance is not available from the guest. If you're going to do performance monitoring, you're going to want three statistics:
Some parts of those are available at the guest level (like the host's CPU speeds) but not the other statistics. | |||
feedback
|
|
There is a Perfmon extension that VMware have made available that gives a Windows Guest OS visibility to the ESX Host performance counters - you can read about it in this blog post by VMware's Scott Drummond here. The comments state that there is no equivalent for Linux available yet but if you have a developer handy the Guest SDK could be used to provide the same data within a Linux Guest. | |||
|
feedback
|
|
The whole point of a virtualized machine is that it's not aware that it's a virtualized machine. The hypervisors job is to abstract the underlying hardware completely away from the VM, giving the VM the impression that it is running on physical hardware. We as users (think Tron) are aware that the machine is a VM, but the kernel of the VM (aside from some optimizations specifically geared towards running as a VM) is not aware of the fact that it's a slice. That being said it may be possible to SNMP poll the HV (this would probably be the gateway address for typical VMs) for certain tid-bits of information regarding the HV and extrapolate that. Unfortunately I don't have access to a hypervisor that I can snmpwalk so I have no way to see what's available. | |||
|
feedback
|