191 lines
6.7 KiB
HTML
191 lines
6.7 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of LSHW</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>LSHW</H1>
|
|
Section: (1)<BR>Updated: 28 January 2018<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
lshw - list hardware
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<P>
|
|
<B>lshw</B> [ <B>-version</B> ]
|
|
<P>
|
|
<B>lshw</B> [ <B>-help</B> ]
|
|
<P>
|
|
<B>lshw</B> [ <B>-X</B> ]
|
|
<P>
|
|
<B>lshw</B> [ <B> [ -html ] [ -short ] [ -xml ] [ -json ] [ -businfo ] </B> ] [ <B>-dump </B><I>filename</I><B></B> ] [ <B>-class </B><I>class</I><B></B><I>...</I> ] [ <B>-disable </B><I>test</I><B></B><I>...</I> ] [ <B>-enable </B><I>test</I><B></B><I>...</I> ] [ <B>-sanitize</B> ] [ <B>-numeric</B> ] [ <B>-quiet</B> ]
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
<P>
|
|
<B>lshw</B>
|
|
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).
|
|
<P>
|
|
|
|
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.
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-version</B><DD>
|
|
Displays the version of <B>lshw</B> and exits.
|
|
<DT id="2"><B>-help</B><DD>
|
|
Displays the available command line options and quits.
|
|
<DT id="3"><B>-X</B><DD>
|
|
Launch the X11 GUI (if available).
|
|
<DT id="4"><B>-html</B><DD>
|
|
Outputs the device tree as an HTML page.
|
|
<DT id="5"><B>-xml</B><DD>
|
|
Outputs the device tree as an XML tree.
|
|
<DT id="6"><B>-json</B><DD>
|
|
Outputs the device tree as a JSON object (JavaScript Object Notation).
|
|
<DT id="7"><B>-short</B><DD>
|
|
Outputs the device tree showing hardware paths, very much like the output of HP-UX's <B>ioscan</B>.
|
|
<DT id="8"><B>-businfo</B><DD>
|
|
Outputs the device list showing bus information, detailing SCSI, USB, IDE and PCI addresses.
|
|
<DT id="9"><B>-dump </B><I>filename</I><B></B><DD>
|
|
Dump collected information into a file (SQLite database).
|
|
<DT id="10"><B>-class </B><I>class</I><B></B><DD>
|
|
Only show the given class of hardware. <I>class</I> can be found using <B>lshw -short</B> or <B>lshw -businfo</B>.
|
|
<DT id="11"><B>-C </B><I>class</I><B></B><DD>
|
|
Alias for <B>-class</B> <I>class</I>.
|
|
<DT id="12"><B>-enable </B><I>test</I><B></B><DD>
|
|
<DT id="13"><B>-disable </B><I>test</I><B></B><DD>
|
|
Enables or disables a test. <I>test</I> can be <B>dmi</B> (for DMI/SMBIOS extensions), <B>device-tree</B> (for OpenFirmware device tree), <B>spd</B> (for memory Serial Presence Detect), <B>memory</B> (for memory-size guessing heuristics), <B>cpuinfo</B> (for kernel-reported CPU detection), <B>cpuid</B> (for CPU detection), <B>pci</B> (for PCI/AGP access), <B>isapnp</B> (for ISA PnP extensions), <B>pcmcia</B> (for PCMCIA/PCCARD), <B>ide</B> (for IDE/ATAPI), <B>usb</B> (for USB devices),<B>scsi</B> (for SCSI) or <B>network</B> (for network interfaces detection).
|
|
<DT id="14"><B>-quiet</B><DD>
|
|
Don't display status.
|
|
<DT id="15"><B>-sanitize</B><DD>
|
|
Remove potentially sensitive information from output (IP addresses, serial numbers, etc.).
|
|
<DT id="16"><B>-numeric</B><DD>
|
|
Also display numeric IDs (for PCI and USB devices).
|
|
</DL>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>BUGS</H2>
|
|
|
|
<P>
|
|
|
|
<B>lshw</B> currently does not detect
|
|
Firewire(IEEE1394) devices.
|
|
<P>
|
|
|
|
Not all architectures supported by GNU/Linux are fully supported (e.g.
|
|
CPU detection).
|
|
<P>
|
|
|
|
"Virtual" SCSI interfaces used for SCSI emulation over IDE are not reported correctly yet.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>NOTES</H2>
|
|
|
|
<P>
|
|
|
|
<B>lshw</B> must be run as super user or it will only report
|
|
partial information.
|
|
<A NAME="lbAG"> </A>
|
|
<H2>FILES</H2>
|
|
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="17"><B>/usr/local/share/pci.ids</B><DD>
|
|
<DT id="18"><B>/usr/share/pci.ids</B><DD>
|
|
<DT id="19"><B>/etc/pci.ids</B><DD>
|
|
<DT id="20"><B>/usr/share/hwdata/pci.ids</B><DD>
|
|
A list of all known PCI ID's (vendors, devices, classes and subclasses).
|
|
If compiled with zlib support, lshw will look for <I>pci.ids.gz</I> first, then for <I>pci.ids</I>.
|
|
<DT id="21"><B>/proc/bus/pci/*</B><DD>
|
|
Used to access the configuration of installed PCI busses and devices.
|
|
<DT id="22"><B>/proc/ide/*</B><DD>
|
|
Used to access the configuration of installed IDE busses and devices.
|
|
<DT id="23"><B>/proc/scsi/*, /dev/sg*</B><DD>
|
|
Used to access the configuration of installed SCSI devices.
|
|
<DT id="24"><B>/dev/cpu/*/cpuid</B><DD>
|
|
Used on x86 platforms to access CPU-specific configuration.
|
|
<DT id="25"><B>/proc/device-tree/*</B><DD>
|
|
Used on PowerPC platforms to access OpenFirmware configuration.
|
|
<DT id="26"><B>/proc/bus/usb/*</B><DD>
|
|
Used to access the configuration of installed USB busses and devices.
|
|
<DT id="27"><B>/sys/*</B><DD>
|
|
Used on 2.6 kernels to access hardware/driver configuration information.
|
|
</DL>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>EXAMPLES</H2>
|
|
|
|
<P>
|
|
|
|
<DL COMPACT>
|
|
<DT id="28"><B>lshw -short</B><DD>
|
|
Lists hardware in a compact format.
|
|
<DT id="29"><B>lshw -class disk -class storage</B><DD>
|
|
Lists all disks and storage controllers in the system.
|
|
<DT id="30"><B>lshw -html -class network</B><DD>
|
|
Lists all network interfaces in HTML.
|
|
<DT id="31"><B>lshw -disable dmi</B><DD>
|
|
Don't use DMI to detect hardware.
|
|
</DL>
|
|
<A NAME="lbAI"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<P>
|
|
|
|
<I>/proc/*</I>, <B><A HREF="/cgi-bin/man/man2html?1+linuxinfo">linuxinfo</A></B>(1), <B><A HREF="/cgi-bin/man/man2html?8+lspci">lspci</A></B>(8), <B><A HREF="/cgi-bin/man/man2html?8+lsusb">lsusb</A></B>(8)
|
|
<A NAME="lbAJ"> </A>
|
|
<H2>COPYING</H2>
|
|
|
|
<P>
|
|
|
|
<B>lshw</B> is distributed under the GNU GENERAL PUBLIC LICENSE (GPL) version 2.
|
|
<A NAME="lbAK"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
<P>
|
|
|
|
<B>lshw</B> is maintained by Lyonel Vincent
|
|
<<A HREF="mailto:lyonel@ezix.org">lyonel@ezix.org</A>>.
|
|
<A NAME="lbAL"> </A>
|
|
<H2>OTHER INFO</H2>
|
|
|
|
<P>
|
|
|
|
The webpage for <B>lshw</B> is at
|
|
<BR> <URL:<A HREF="http://lshw.ezix.org/">http://lshw.ezix.org/</A>>
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="32"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="33"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="34"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="35"><A HREF="#lbAE">BUGS</A><DD>
|
|
<DT id="36"><A HREF="#lbAF">NOTES</A><DD>
|
|
<DT id="37"><A HREF="#lbAG">FILES</A><DD>
|
|
<DT id="38"><A HREF="#lbAH">EXAMPLES</A><DD>
|
|
<DT id="39"><A HREF="#lbAI">SEE ALSO</A><DD>
|
|
<DT id="40"><A HREF="#lbAJ">COPYING</A><DD>
|
|
<DT id="41"><A HREF="#lbAK">AUTHOR</A><DD>
|
|
<DT id="42"><A HREF="#lbAL">OTHER INFO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:18 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|