This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
lshw
From Gentoo Wiki (test)
This article is a stub. You can help by expanding it.
lshw is a hardware detection utility for Linux.
Installation
USE flags
USE flags for sys-apps/lshw Hardware Lister
Emerge
root #
emerge --ask sys-apps/lshw
Usage
Invocation
root #
lshw --help
Hardware Lister (lshw) - B.02.17 usage: lshw [-format] [-options ...] lshw -version -version print program version (B.02.17) format can be -html output hardware tree as HTML -xml output hardware tree as XML -short output hardware paths -businfo output bus information options can be -class CLASS only show a certain class of hardware -C CLASS same as '-class CLASS' -c CLASS same as '-class CLASS' -disable TEST disable a test (like pci, isapnp, cpuid, etc. ) -enable TEST enable a test (like pci, isapnp, cpuid, etc. ) -quiet don't display status -sanitize sanitize output (remove sensitive information like serial numbers, etc.) -numeric output numeric IDs (for PCI, USB, etc.)