Operating System - Linux
1751972 Members
5099 Online
108784 Solutions
New Discussion юеВ

Re: how to find whether it is "physical server" or "virtual server"

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

how to find whether it is "physical server" or "virtual server"

Hi

In my environment, LINUX (Redhat and SUSE)is installed both in HP proliant and VMware ESX.

So i want to know what are linux is installed in HP proliant and VMware.

what is the commaned is used to view this info.


pls explain me.
5 REPLIES 5
Ivan Ferreira
Honored Contributor
Solution

Re: how to find whether it is "physical server" or "virtual server"

I would use the following command:

# dmidecode | grep -i vmware

Manufacturer: VMware, Inc.
Product Name: VMware Virtual Platform
Serial Number: VMware-50 33 06 d7 4c 5c af 4e-40 b3 13 2c 5c d6 e7 36
Description: VMware SVGA II

If you get "VMware" output, then you are running on a ESX host.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
avizen9
Esteemed Contributor

Re: how to find whether it is "physical server" or "virtual server"

Hello Senthil,

You can check the hardware browser, by
hwbrowser with root user
Under Hard Drive
the HDD Model should be VMware Virtual disk,

refer attached file for more info,

senthil_kumar_1
Super Advisor

Re: how to find whether it is "physical server" or "virtual server"

Hi avizen9

I can not log in to GUI mode. so I am not able to execute your command.

I am able to log in CUI mode only.

So pls give the commmands that can be used in CUI.
Ivan Krastev
Honored Contributor

Re: how to find whether it is "physical server" or "virtual server"

We are using dmesg - look for cdrom:

dmesg | grep cdrom

regards,
ivan
senthil_kumar_1
Super Advisor

Re: how to find whether it is "physical server" or "virtual server"

Hi Guys,

"dmesg" is giving lot of details. and it is giving repeated details.

I dont want repeated details so how to filter this.