August 18, 2011

Solaris 10: how check if the system is vmware virtual machine or not

Posted in Solaris at 9:42 am by alessiodini

I work on both Solaris physical/virtual systems. on *x86/x64* I usually need to know if the system is physical or virtual.
For this purpose i can use these two following commands:

bash-3.00# prtdiag -v | head -3
System Configuration: VMware, Inc. VMware Virtual Platform
BIOS Configuration: Phoenix Technologies LTD 6.00 10/13/2009

bash-3.00# modinfo | grep -i vm
148 fffffffff7e71000 3b38 244 1 vmxnet3s (VMware EtherAdapter v3 b341836)
205 fffffffff78e7000 21b0 230 1 vmmemctl (VMware Memory Control b341836)

very easy 😉


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: