- Launch the GUI:sudo lshw -X- List all hardwares in tabular format:sudo lshw -short- List all disks and storage controllers in tabular format:sudo lshw -class disk -class storage -short- Save all network interfaces to an HTML file:sudo lshw -class network -html > [interfaces.html]
lshw [ -version ]
lshw [ -help ]
lshw [ -X ]
lshw [ [ -html ] [ -short ] [ -xml ] [ -json ] [ -businfo ] ] [ -dump filename ] [ -class class... ] [ -disable test... ] [ -enable test... ] [ -sanitize ] [ -numeric ] [ -quiet ]
lshw is a small tool to extract detailed information on the hardware configuration of the machine. It can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, etc. on DMI-capable x86 or IA-64 systems and on some PowerPC machines (PowerMac G4 is known to work).
It currently supports DMI (x86 and IA-64 only), OpenFirmware device tree (PowerPC only), PCI/AGP, CPUID (x86), IDE/ATA/ATAPI, PCMCIA (only tested on x86), SCSI and USB.
lshw currently does not detect Firewire(IEEE1394) devices.
Not all architectures supported by GNU/Linux are fully supported (e.g. CPU detection).
"Virtual" SCSI interfaces used for SCSI emulation over IDE are not reported correctly yet.
lshw must be run as super user or it will only report partial information.
/proc/*, linuxinfo(1), lspci(8), lsusb(8)
lshw is distributed under the GNU GENERAL PUBLIC LICENSE (GPL) version 2.
lshw is maintained by Lyonel Vincent <firstname.lastname@example.org>.
The webpage for lshw is at <URL:http://lshw.org/>