Notifications
Clear all

How to find if my linux machine i physical, vm or cloud  

  RSS

amrit_3327
(@amrit_3327)
Trusted Member
Joined: 11 months ago
Posts: 57
19/07/2020 5:40 pm  

Any way to find the type of linux machine.


Quote
Topic Tags
amrit_3327
(@amrit_3327)
Trusted Member
Joined: 11 months ago
Posts: 57
19/07/2020 5:42 pm  
  • In case of physical

 

 dmidecode -t system

# dmidecode 2.11

SMBIOS 2.6 present.

 

Handle 0x0100, DMI type 1, 27 bytes

System Information

        Manufacturer: Dell Inc.

        Product Name: PowerEdge R610

        Version: Not Specified

        Serial Number: JDSVH1

        UUID: 4C4544-0044-3510-8053-CAC044831

        Wake-up Type: Power Switch

        SKU Number: Not Specified

        Family: Not Specified

 

  • In case of cloud

 

dmidecode dmidecode -t system

# dmidecode 3.2

Getting SMBIOS data from sysfs.

SMBIOS 2.7 present.

 

Handle 0x0100, DMI type 1, 27 bytes

System Information

        Manufacturer: Xen

        Product Name: HVM domU

        Version: 4.2.amazon

        Serial Number: ec287-0e6c-a0-b2c9-677fd6b14686

        UUID: ec2d187-0e-a01e-b2c9-67d6b14686

        Wake-up Type: Power Switch

        SKU Number: Not Specified

        Family: Not Specified

 

  • In case of vm

 

 dmidecode -t system

# dmidecode 2.11

SMBIOS 2.7 present.

 

Handle 0x0001, DMI type 1, 27 bytes

System Information

        Manufacturer: VMware, Inc.

        Product Name: VMware Virtual Platform

        Version: None

        Serial Number: VMware 13 0d bc 63 54 84 d4-58 f4  b5 78 77 56 

        UUID: BC342-5463-D4-58F4-6DB5787756C2

        Wake-up Type: Power Switch

        SKU Number: Not Specified

        Family: Not Specified


ReplyQuote
Share: