Re: [CentOS] How to detect whether running on VMware?

2008-07-25 Thread mouss
Kai Schaetzl wrote: Tony Mountifield wrote on Thu, 24 Jul 2008 11:47:04 + (UTC): Does anyone know how a program, script or shell user can best determine whether the machine is running on bare metal or is a VMware guest? AFAIK, VMWare uses vmnet32 drivers for ethernet and possibly others

Re: [CentOS] How to detect whether running on VMware?

2008-07-24 Thread Paul Bijnens
Tony Mountifield wrote: Does anyone know how a program, script or shell user can best determine whether the machine is running on bare metal or is a VMware guest? This paper show some very interesting tricks: http://handlers.sans.org/tliston/ThwartingVM*Detection*_Liston_Skoudis.pdf One

RE: [CentOS] How to detect whether running on VMware?

2008-07-24 Thread Marc-Andre Levesque
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tony Mountifield Does anyone know how a program, script or shell user can best determine whether the machine is running on bare metal or is a VMware guest? Cheers Tony This script does the trick for me on

Re: [CentOS] How to detect whether running on VMware?

2008-07-24 Thread Ned Slider
Marc-Andre Levesque wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tony Mountifield Does anyone know how a program, script or shell user can best determine whether the machine is running on bare metal or is a VMware guest? Cheers Tony This

Re: [CentOS] How to detect whether running on VMware?

2008-07-24 Thread Marko A. Jennings
On Thu, July 24, 2008 7:47 am, Tony Mountifield wrote: Does anyone know how a program, script or shell user can best determine whether the machine is running on bare metal or is a VMware guest? dmidecode | grep -iq vmware This returns 0 if it is a VMware system and 1 it it isn't.

Re: [CentOS] How to detect whether running on VMware?

2008-07-24 Thread Tom Brown
Does anyone know how a program, script or shell user can best determine whether the machine is running on bare metal or is a VMware guest? # dmidecode | grep Product Product Name: VMware Virtual Platform ___ CentOS mailing list

Re: [CentOS] How to detect whether running on VMware?

2008-07-24 Thread Tom Brown
# 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

Re: [CentOS] How to detect whether running on VMware?

2008-07-24 Thread Rudi Ahlers
Tom Brown wrote: Does anyone know how a program, script or shell user can best determine whether the machine is running on bare metal or is a VMware guest? # dmidecode | grep Product Product Name: VMware Virtual Platform ___ mmm a

Re: [CentOS] How to detect whether running on VMware?

2008-07-24 Thread Kai Schaetzl
Tony Mountifield wrote on Thu, 24 Jul 2008 11:47:04 + (UTC): Does anyone know how a program, script or shell user can best determine whether the machine is running on bare metal or is a VMware guest? AFAIK, VMWare uses vmnet32 drivers for ethernet and possibly others for other devices as

Re: [CentOS] How to detect whether running on VMware?

2008-07-24 Thread Milton Calnek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony Mountifield wrote: | Does anyone know how a program, script or shell user can best determine | whether the machine is running on bare metal or is a VMware guest? | Obviously from the responses many people have a solution... my question is Why

Re: [CentOS] How to detect whether running on VMware?

2008-07-24 Thread Tom Brown
Tony Mountifield wrote: | Does anyone know how a program, script or shell user can best determine | whether the machine is running on bare metal or is a VMware guest? | Obviously from the responses many people have a solution... my question is Why do you care?. What is it that you would do