Circuit board

lshw – detailed Linux hardware information

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

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.

Alternatives to uname


Related Software

Terminal-Based System Profilers
inxiPerl-based CLI system information tool
HyFetchneofetch with LGBTQ+ pride flags
CPU-XSimilar tool to CPU-Z but differs in a few important ways
FastfetchWritten in C, Fastfetch is a speedy fetcher
dmidecodeReports information according to the SMBDIOS/DMI standard
NeofetchExtremely customizable and runs on any operating that supports Bash
macchinaSystem information fetcher
brokefetchneofetch clone
hwinfoProvides a hardware probing library and a command line tool
screenFetchBash information tool
lshwConsole and graphical tool extracting detailed information
i7zReporting tool for i7, i5, i3 CPUs
FreshfetchFresh take on Neofetch
KatifetchFocuses on identity and customization
rxfetchMinimal but geeky fetch utility
albafetchWritten in C
UniFetchForked from Neofetch
NerdFetchFetch script using Nerdfonts
ArTTYArt for your TTY
rtfetchNeofetch but in Rust
F-FetchFast and minimal system fetcher
Archey 4Simple system information tool
zeptofetchNo scripts, no bloat, just pure C
switchfetchWritten in Rust
pfetchPretty system information tool written in POSIX sh
dmituiTUI version of dmidecode
zigfetchWritten in Zig
ufetchConsists of platform-specific shell scripts that print concise system details
noorfetchMinimalist system fetch
LeenFetchIncludes JSON output and remote fetching over SSH
XfetchInspired by fastfetch and neofetch, written in Rust
blaeckfetchPowered by blaeck for rendering
zfetch-rsFocuses on providing a fast, minimal implementation
YoctofetchBilled as the fast(est) system fetch tool for Linux with a low footprint
StormfetchWritten in Go
PeekFetchBuilt with Go and Bubble Tea
NiTch RevivedSystem fetch written fully in Nim without any dependencies
MetetchMinimal aesthetic inspired by KDE Plasma and Wayland
gnfetchWritten in Rust
bestfetchBilled as a customizable, beautiful, and blazing fast system fetch

Read our verdict in the software roundup.


Best Free and Open Source Software 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.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted