Wednesday, June 24, 2015

Is my server physical or virtual?

Am I real or virtual? That is the question! That's the realm of philosophy and adhyatma.

When and if I put this question to my server, it becomes technical and here's the answer.

On Linux

# dmidecode | more


dmidecode -s system-manufacturer

Sample Output

# dmidecode | more
# dmidecode 2.9
SMBIOS 2.4 present.
364 structures occupying 17030 bytes.
Table at 0x000E0010.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
        Vendor: Phoenix Technologies LTD
        Version: 6.00
        Release Date: 04/14/2014
        Address: 0xEA050
        Runtime Size: 90032 bytes
        ROM Size: 64 kB
                ISA is supported
                PCI is supported
                PC Card (PCMCIA) is supported
                PNP is supported
                APM is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                ESCD support is available
                Boot from CD is supported
                Selectable boot is supported
                EDD is supported
                Print screen service is supported (int 5h)
                8042 keyboard services are supported (int 9h)
                Serial services are supported (int 14h)
                Printer services are supported (int 17h)
                CGA/mono video services are supported (int 10h)
                ACPI is supported
                Smart battery is supported
                BIOS boot specification is supported
                Function key-initiated network boot is supported
                Targeted content distribution is supported
        BIOS Revision: 4.6
        Firmware Revision: 0.0

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: VMware, Inc.
        Product Name: VMware Virtual Platform
        Version: None
        Serial Number: VMware-42 33 91 c4 2a d5 cb 7d-e8 c3 e4 00 e0 96 b7 62
        UUID: 423391C4-2AD5-CB7D-E8C3-E400E096B762
        Wake-up Type: Power Switch
        SKU Number: Not Specified
        Family: Not Specified

# dmidecode -s system-manufacturer
VMware, Inc.

On Windows:

SYSTEMINFO command on the command prompt should do the trick:

START ==> RUN ==> cmd (open command prompt)

Sample Output


Host Name:                 **********
OS Name:                   Microsoft Windows Server 2008 R2 Enterprise
OS Version:                6.1.7601 Service Pack 1 Build 7601
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Member Server
OS Build Type:             Multiprocessor Free
Registered Owner:          **********
Registered Organization:   **********
Product ID:                ********************
Original Install Date:     12/23/2013, 2:07:40 PM
System Boot Time:          5/6/2015, 10:50:07 AM
System Manufacturer:       VMware, Inc.
System Model:              VMware Virtual Platform
System Type:               x64-based PC

Voila! There you go.

No comments: