
Step by step command example below show how to check Linux hardware properties detail on Linux fedora system using lshw command. The example below use the lshw command without any option to display all hardware details and then the output from the lshw command is pipe to less command to display the output from lshw command on scrollable mode. The example below execute and tested on Linux Fedora 10 server. Please note that you may need to install lshw command tool in order to follow and get the output as show on this lshw command example.
Execute lshw command to check Linux hardware details:
[root@fedora10 ~]# lshw |less
fedora10.jmti.gov.my
description: Tower Computer
product: ProLiant ML530 G2
vendor: Compaq
serial: H0YBCJQ411D
width: 32 bits
capabilities: smbios-2.3 dmi-2.3 smp-1.4 smp
configuration: boot=normal chassis=tower cpus=2 uuid=48305942-4A51-3431-02020
*-core
description: Motherboard
physical id: 0
*-firmware
description: BIOS
vendor: Compaq
physical id: 0
version: P22 (05/29/2003)
size: 64KiB
capacity: 1984KiB
capabilities: pci pnp upgrade shadowing escd cdboot bootselect int13floppy360 int13floppy1200 int13floppy720 int5printscreen int9keyboard int14serial int17printer int10video acpi usb biosbootspecification
*-cpu:0
description: CPU
product: Intel(R) Xeon(TM) CPU 2.40GHz
vendor: Intel Corp.
physical id: 406
bus info: cpu@0
version: 15.2.9
slot: Proc 1
size: 2400MHz
capacity: 2800MHz
width: 32 bits
clock: 100MHz
capabilities: boot fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
configuration: id=6
*-cache:0
description: L1 cache
physical id: 716
slot: Processor 1 Internal L1 Cache
size: 8KiB
capacity: 32KiB
capabilities: burst internal write-back
*-cache:1
description: L2 cache
physical id: 726
slot: Processor 1 Internal L2 Cache
size: 512KiB
capacity: 2MiB
capabilities: burst internal write-back
*-logicalcpu:0
description: Logical CPU
physical id: 6.1
width: 32 bits
capabilities: logical
*-logicalcpu:1
description: Logical CPU
physical id: 6.2
width: 32 bits
capabilities: logical
*-cpu:1
description: CPU
product: Intel(R) Xeon(TM) CPU 2.40GHz
vendor: Intel Corp.
physical id: 400
bus info: cpu@1
version: 15.2.9
slot: Proc 2
size: 2400MHz
capacity: 2800MHz
width: 32 bits
clock: 100MHz
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
configuration: id=6
*-cache:0
description: L1 cache
physical id: 710
slot: Processor 2 Internal L1 Cache
size: 8KiB
capacity: 32KiB
capabilities: burst internal write-back
*-cache:1
description: L2 cache
physical id: 720
slot: Processor 2 Internal L2 Cache
size: 512KiB
capacity: 2MiB
capabilities: burst internal write-back
*-logicalcpu:0
description: Logical CPU
physical id: 6.1
width: 32 bits
capabilities: logical
*-logicalcpu:1
description: Logical CPU
physical id: 6.2
width: 32 bits
capabilities: logical
*-cache:0 DISABLED
description: L3 cache
physical id: 736
slot: Processor 1 Internal L3 Cache
capacity: 1MiB
capabilities: burst internal write-back
*-cache:1 DISABLED
description: L3 cache
physical id: 730
slot: Processor 2 Internal L3 Cache
capacity: 1MiB
capabilities: burst internal write-back
*-memory
description: System Memory
physical id: 1000
slot: Proprietary add-on card
size: 1GiB
*-bank:0
description: DIMM DDR Synchronous 200 MHz (5.0 ns)
physical id: 0
slot: DIMM 01
size: 512MiB
width: 64 bits
clock: 200MHz (5.0ns)
*-bank:1
description: DIMM DDR Synchronous 200 MHz (5.0 ns)
physical id: 1
slot: DIMM 02
size: 512MiB
width: 64 bits
clock: 200MHz (5.0ns)
*-bank:2
description: DIMM DDR Synchronous 200 MHz (5.0 ns) [empty]
physical id: 2
slot: DIMM 03
width: 64 bits
clock: 200MHz (5.0ns)
*-bank:3
description: DIMM DDR Synchronous 200 MHz (5.0 ns) [empty]
physical id: 3
slot: DIMM 04
width: 64 bits
clock: 200MHz (5.0ns)
*-bank:4
description: DIMM DDR Synchronous 200 MHz (5.0 ns) [empty]
physical id: 4
slot: DIMM 05
width: 64 bits
clock: 200MHz (5.0ns)
*-bank:5
description: DIMM DDR Synchronous 200 MHz (5.0 ns) [empty]
physical id: 5
slot: DIMM 06
width: 64 bits
clock: 200MHz (5.0ns)
*-bank:6
description: DIMM DDR Synchronous 200 MHz (5.0 ns) [empty]
physical id: 6
slot: DIMM 07
width: 64 bits
clock: 200MHz (5.0ns)
*-bank:7
description: DIMM DDR Synchronous 200 MHz (5.0 ns) [empty]
physical id: 7
slot: DIMM 08
width: 64 bits
clock: 200MHz (5.0ns)
*-pci:0
description: Host bridge
product: CMIC-HE
vendor: Broadcom
physical id: 100
bus info: pci@0000:00:00.0
version: 22
width: 32 bits
clock: 33MHz
*-system UNCLAIMED
description: System peripheral
product: Advanced System Management Controller
vendor: Compaq Computer Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 00
width: 32 bits
clock: 33MHz
configuration: latency=0
*-display UNCLAIMED
description: VGA compatible controller
product: Rage XL
vendor: ATI Technologies Inc
physical id: 3
bus info: pci@0000:00:03.0
version: 27
width: 32 bits
clock: 33MHz
capabilities: pm vga_controller bus_master cap_list
configuration: latency=64 mingnt=8
*-network
description: Ethernet interface
product: 82557/8/9/0/1 Ethernet Pro 100
vendor: Intel Corporation
physical id: 4
bus info: pci@0000:00:04.0
logical name: eth0
version: 08
serial: 00:08:02:e0:af:0c
size: 100MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e100 driverversion=3.5.23-k4-N API duplex=full firmware=N/A ip=172.16.160.119 latency=64 link=yes maxlatency=56 mingnt=8 module=e100 multicast=yes port=MII speed=100MB/s
*-scsi:0
description: SCSI storage controller
product: AHA-3960D / AIC-7899A U160/m
vendor: Adaptec
physical id: 5
bus info: pci@0000:00:05.0
logical name: scsi2
version: 01
width: 64 bits
clock: 66MHz
capabilities: scsi pm bus_master cap_list scsi-host
configuration: driver=aic7 latency=64 maxlatency=25 mingnt=40 module=aic7
*-scsi:1
description: SCSI storage controller
product: AHA-3960D / AIC-7899A U160/m
vendor: Adaptec
physical id: 5.1
bus info: pci@0000:00:05.1
logical name: scsi3
version: 01
width: 64 bits
clock: 66MHz
capabilities: scsi pm bus_master cap_list scsi-host
configuration: driver=aic7 latency=64 maxlatency=25 mingnt=40 module=aic7
*-processor UNCLAIMED
description: SCSI Processor
product: PROLIANT 4L6I
vendor: COMPAQ
physical id: 0.f.0
bus info: scsi@3:0.15.0
version: 1.78
serial: #
configuration: ansiversion=2
*-isa
description: ISA bridge
product: CSB5 South Bridge
vendor: Broadcom
physical id: f
bus info: pci@0000:00:0f.0
version: 93
width: 32 bits
clock: 33MHz
capabilities: isa bus_master
configuration: driver=piix4_smbus latency=64 module=i2c_piix4
*-ide
description: IDE interface
product: CSB5 IDE Controller
vendor: Broadcom
physical id: f.1
bus info: pci@0000:00:0f.1
logical name: scsi1
version: 93
width: 32 bits
clock: 33MHz
capabilities: ide bus_master emulated
configuration: driver=pata_serverworks latency=64 module=pata_serverworks
*-cdrom
description: DVD-RAM writer
product: DVDRAM GSA-H42L
vendor: HL-DT-ST
physical id: 0.0.0
bus info: scsi@1:0.0.0
logical name: /dev/cdrom
logical name: /dev/cdrw
logical name: /dev/dvd
logical name: /dev/dvdrw
logical name: /dev/scd0
logical name: /dev/sr0
version: SL00
capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
configuration: ansiversion=5 status=nodisc
*-usb
description: USB Controller
product: OSB4/CSB5 OHCI USB Controller
vendor: Broadcom
physical id: f.2
bus info: pci@0000:00:0f.2
version: 05
width: 32 bits
clock: 33MHz
capabilities: ohci bus_master
configuration: driver=ohci_hcd latency=64 maxlatency=80 module=ohci_hcd
*-usbhost
product: OHCI Host Controller
vendor: Linux 2.6.27.12-170.2.5.fc10.i686 ohci_hcd
physical id: 1
bus info: usb@1
logical name: /dev/usb1
version: 2.06
capabilities: usb-1.10
configuration: driver=hub slots=4 speed=12.0MB/s
*-pci:1
description: Host bridge
product: CMIC-HE
vendor: Broadcom
physical id: 101
bus info: pci@0000:00:00.1
version: 00
width: 32 bits
clock: 33MHz
*-pci:2
description: Host bridge
product: CMIC-HE
vendor: Broadcom
physical id: 102
bus info: pci@0000:00:00.2
version: 00
width: 32 bits
clock: 33MHz
*-pci:3
description: Host bridge
product: CMIC-HE
vendor: Broadcom
physical id: 103
bus info: pci@0000:00:00.3
version: 00
width: 32 bits
clock: 33MHz
*-pci:4
description: Host bridge
product: CSB5 LPC bridge
vendor: Broadcom
physical id: 104
bus info: pci@0000:00:0f.3
version: 00
width: 32 bits
clock: 33MHz
*-pci:5
description: Host bridge
product: CIOB30
vendor: Broadcom
physical id: 105
bus info: pci@0000:00:10.0
version: 03
width: 32 bits
clock: 66MHz
configuration: latency=64
*-pci:6
description: Host bridge
product: CIOB30
vendor: Broadcom
physical id: 106
bus info: pci@0000:00:10.2
version: 03
width: 32 bits
clock: 66MHz
configuration: latency=64
*-pci:7
description: Host bridge
product: CIOB30
vendor: Broadcom
physical id: 107
bus info: pci@0000:00:11.0
version: 03
width: 32 bits
clock: 66MHz
configuration: latency=64
*-pci:8
description: Host bridge
product: CIOB30
vendor: Broadcom
physical id: 108
bus info: pci@0000:00:11.2
version: 03
width: 32 bits
clock: 66MHz
configuration: latency=64
*-pci:9
description: PCI bridge
product: PCI-X to PCI-X Bridge
vendor: IBM
physical id: 1
bus info: pci@0000:01:01.0
version: 02
width: 32 bits
clock: 66MHz
capabilities: pci pcix pm normal_decode bus_master cap_list
*-storage
description: RAID bus controller
product: Smart Array 64xx
vendor: Compaq Computer Corporation
physical id: 4
bus info: pci@0000:02:04.0
version: 01
width: 64 bits
clock: 66MHz
capabilities: storage pm pcix vpd bus_master cap_list
configuration: driver=cciss latency=64 module=cciss
*-system:0
description: PCI Hot-plug controller
product: PCI Hotplug Controller
vendor: Compaq Computer Corporation
physical id: 2
bus info: pci@0000:01:1e.0
version: 14
width: 64 bits
clock: 66MHz
capabilities: msi pcix pm cap_list
configuration: driver=compaq_pci_hotplug latency=0 module=cpqphp
*-system:1
description: PCI Hot-plug controller
product: PCI Hotplug Controller
vendor: Compaq Computer Corporation
physical id: 3
bus info: pci@0000:05:1e.0
version: 14
width: 32 bits
clock: 66MHz
capabilities: msi pcix pm cap_list
configuration: driver=compaq_pci_hotplug latency=0 module=cpqphp
*-network DISABLED
description: Ethernet interface
physical id: 1
logical name: pan0
serial: 96:03:b6:3d:ac:89
capabilities: ethernet physical
configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes multicast=yes
[root@fedora10 ~]#