[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] How to detect if a machine is a Virtual machine ??



On 2009/Dec/21 21:58, Sachin Goel wrote:
> Hi,
> 
> Just curious to know, if there is any way that given a terminal to a 
> box, we can determine is it a physical machine or a virtual machine ?
> 
Hello Sachin,

You should be able to get some useful information from the DMI, e.g:

% for i in system-manufacturer system-product-name system-version\
system-serial-number; do echo -n "$i: "; sudo dmidecode -s $i; done

system-manufacturer: Xen
system-product-name: HVM domU
system-version: 3.3.1
system-serial-number: 89e5915f-dead-beef-cefd-46904ea94c4a

Tom

-- 
Regards,
Tom Clark
xen-users@xxxxxxxxxx

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.