[CentOS] How to detect whether running on VMware?

Tom Brown tom at ng23.net
Thu Jul 24 15:00:45 UTC 2008


>>
>> # dmidecode | grep Product
>>        Product Name: VMware Virtual Platform
>>
>> _______________________________________________
> mmm....
>
> a XEN VPS gives me this:
> # dmidecode | grep Product
> /dev/mem: mmap: Bad address
>
>
 so its not running on VMware - great job done




More information about the CentOS mailing list