FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

LinkBack Thread Tools
Old 07-25-2008, 09:12 PM
Scott Silva
Default How to detect whether running on VMware?

on 7-25-2008 12:57 PM mouss spake the following:

Kai Schaetzl wrote:

Tony Mountifield wrote on Thu, 24 Jul 2008 11:47:04 +0000 (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 well.


# modinfo vmxnet
filename: /lib/modules/2.6.18-5-486/misc/vmxnet.ko
author: VMware, Inc.
description: VMware Virtual Ethernet driver.

# dmesg |grep -i vmware
hdc: VMware Virtual IDE CDROM Drive, ATAPI CD/DVD-ROM drive
Vendor: VMware, Model: VMware Virtual S Rev: 1.0
VMware hgfs: HGFS is disabled in the host
VMware hgfs: HGFS is disabled in the host
VMware memory control driver initialized
VMware vmxnet virtual NIC driver


Most of those depend on your installing vmware tools package and their drivers.

MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

CentOS mailing list

Thread Tools

All times are GMT. The time now is 09:00 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org