Install
yum install lshw apt-get install lshw
EPEL repository may need to be enabled to install lshw.
Google Cloud examples:
[root@db01 ~]# lshw -short H/W path Device Class Description =============================================== system Google /0 bus Motherboard /0/0 memory 96KiB BIOS /0/401 processor Intel(R) Xeon(R) CPU @ 2.30GHz /0/1000 memory 3840MiB System Memory /0/1000/0 memory 3840MiB DIMM RAM /0/1 bridge 82371AB/EB/MB PIIX4 ISA /0/1.3 bridge 82371AB/EB/MB PIIX4 ACPI /0/3 generic Virtio SCSI /0/4 eth0 network Virtio network device /0/2 scsi0 storage /0/2/0.1.0 /dev/sda disk 10GB PersistentDisk /0/2/0.1.0/1 /dev/sda1 volume 10238MiB Linux filesystem partition
output by HW type
root@noc01:~# lshw -short -class memory H/W path Device Class Description =============================================== /0/0 memory 96KiB BIOS /0/1000 memory 7680MiB System Memory /0/1000/0 memory 7680MiB DIMM RAM root@noc01:~# lshw -short -class processor H/W path Device Class Description =============================================== /0/401 processor Intel(R) Xeon(R) CPU @ 2.30GHz /0/402 processor CPU
Amazon Web Services
[root@jira ~]# lshw -short H/W path Device Class Description ========================================== system HVM domU /0 bus Motherboard /0/0 memory 96KiB BIOS /0/1 processor Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz /0/2 memory System Memory /0/2/0 memory 1GiB DIMM RAM /0/2/1 memory 1GiB DIMM RAM /0/3 memory 96KiB BIOS /0/4 processor CPU /0/5 memory System Memory /0/6 memory /0/7 memory /0/100 bridge 440FX - 82441FX PMC [Natoma] /0/100/1 bridge 82371SB PIIX3 ISA [Natoma/Triton II] /0/100/1.1 storage 82371SB PIIX3 IDE [Natoma/Triton II] /0/100/1.3 bridge 82371AB/EB/MB PIIX4 ACPI /0/100/2 display GD 5446 /0/100/3 generic Xen Platform Device /1 eth0 network Ethernet interface
Full Output
Alternative: dmidecode