lshw, short for Hardware Lister, is a system information utility that provides detailed reports about the hardware installed in a Linux computer.
It can identify processors, memory modules, firmware, storage devices, network interfaces and other components. The information is organised into a hierarchical description of the system, making it possible to examine individual devices and their relationships.
The application is useful for hardware inventory, troubleshooting and determining the specifications of machines that cannot easily be inspected physically. It can also help identify device configuration details when diagnosing compatibility or driver problems.
lshw offers several output formats, ranging from brief text summaries to structured reports suitable for further processing. An optional graphical interface provides another way to browse the information.
Some hardware details require administrative privileges. Running lshw without elevated permissions may produce an incomplete report.
This is free and open source software.
Key Features
- Reports processor models, clock speeds, memory configuration, firmware and motherboard details.
- Identifies storage controllers, disks, network adapters, graphics hardware and other devices.
- Displays hardware information as a hierarchical device tree.
- Produces compact hardware summaries using -short.
- Outputs detailed reports in text, HTML, XML and JSON formats.
- Displays device bus information using -businfo.
- Restricts reports to selected device classes using -class.
- Sanitises potentially sensitive information, including serial numbers and IP addresses, using -sanitize.
- Displays numeric hardware identifiers using -numeric.
- Provides controls for enabling or disabling selected hardware tests.
- Can save collected hardware information into a database file.
- Offers an optional GTK graphical interface for browsing hardware details.
- Supports hardware detection through DMI, PCI, USB, SCSI and other system interfaces.
Website: ezix.org
Support:
Developer: Lyonel Vincent
License: GNU General Public License v2.0

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.
Related Software
| Terminal-Based System Profilers | |
|---|---|
| inxi | Perl-based CLI system information tool |
| HyFetch | neofetch with LGBTQ+ pride flags |
| CPU-X | Similar tool to CPU-Z but differs in a few important ways |
| Fastfetch | Written in C, Fastfetch is a speedy fetcher |
| dmidecode | Reports information according to the SMBDIOS/DMI standard |
| Neofetch | Extremely customizable and runs on any operating that supports Bash |
| macchina | System information fetcher |
| brokefetch | neofetch clone |
| hwinfo | Provides a hardware probing library and a command line tool |
| screenFetch | Bash information tool |
| lshw | Console and graphical tool extracting detailed information |
| i7z | Reporting tool for i7, i5, i3 CPUs |
| Freshfetch | Fresh take on Neofetch |
| Katifetch | Focuses on identity and customization |
| rxfetch | Minimal but geeky fetch utility |
| albafetch | Written in C |
| UniFetch | Forked from Neofetch |
| NerdFetch | Fetch script using Nerdfonts |
| ArTTY | Art for your TTY |
| rtfetch | Neofetch but in Rust |
| F-Fetch | Fast and minimal system fetcher |
| Archey 4 | Simple system information tool |
| zeptofetch | No scripts, no bloat, just pure C |
| switchfetch | Written in Rust |
| pfetch | Pretty system information tool written in POSIX sh |
| dmitui | TUI version of dmidecode |
| zigfetch | Written in Zig |
| ufetch | Consists of platform-specific shell scripts that print concise system details |
| noorfetch | Minimalist system fetch |
| LeenFetch | Includes JSON output and remote fetching over SSH |
| Xfetch | Inspired by fastfetch and neofetch, written in Rust |
| blaeckfetch | Powered by blaeck for rendering |
| zfetch-rs | Focuses on providing a fast, minimal implementation |
| Yoctofetch | Billed as the fast(est) system fetch tool for Linux with a low footprint |
| Stormfetch | Written in Go |
| PeekFetch | Built with Go and Bubble Tea |
| NiTch Revived | System fetch written fully in Nim without any dependencies |
| Metetch | Minimal aesthetic inspired by KDE Plasma and Wayland |
| gnfetch | Written in Rust |
| bestfetch | Billed as a customizable, beautiful, and blazing fast system fetch |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.