lshw – Hardware Lister

lshw is a small open source tool to extract detailed and comprehensive information on the hardware configuration of the machine.

This application reports 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.

lshw must be run as super user or it will only report partial information.

Features include:

  • Information can be output in plain text, XML or HTML.
  • Shows information about specific hardware with the class option:
    • Address.
    • Bridge.
    • Bus.
    • Communication.
    • Disk.
    • Display.
    • Generic.
    • Input.
    • Memory.
    • Multimedia.
    • Network.
    • Power.
    • Printer.
    • Processor.
    • Storage.
    • System.
    • Tape.
    • Volume.
  • 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.
  • Generate a compact hardware report.

Developer: Lyonel Vincent
License: GNU GPL v2


lshw is written in C and C++. Learn C with our recommended free books and free tutorials. Learn C++ with our recommended free books and free tutorials.

Return to System Profilers Home Page

Read our complete collection of recommended free and open source software. The collection covers all categories of software.
Share this article

Share your Thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.