On Sat, Aug 30, 2008 at 04:21:31PM -0400, Steve Thompson wrote:
On Wed, 27 Aug 2008, Richard W.M. Jones wrote:
> I'm pleased to announce the first release of 'virt-what', which is a
> simple shell script that detects if you are running inside a virtual
> machine, and prints some "facts" about that virtual machine. This is
> a frequently requested feature.
> [...]
On dom0 running a xen kernel (CentOS 5.2), I get:
xen
xen-dom0
whether or not xend is started.
On PV guests, I get the same output (they have /proc/xen/privcmd
too). On HVM guests, I get no output.
Oh dear, that's a bug. Which version of xen are you running?
Rich.
--
Richard Jones, Emerging Technologies, Red Hat
http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top