[CentOS] How to detect whether running on VMware?

Thu Jul 24 16:43:34 UTC 2008
Tom Brown <tom at ng23.net>

>
>
> 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 (or not do) on a vmware guest that you
> might do on bare metal?

install VMware tools perhaps?