GNU/Linux Command – LSHW

lshw — List all Hardware

Summary:
lshw is a small tool to extract detailed information on the hardware configuration of the machine. 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. For a detailed list of hardware, run this command in superuser mode.

Examples:

$ lshw -- Show detailed list of hardwares in tree form. 
$ lshw -short -- Show the short output. 
$ lshw -businfo -- Show devices connected to the system bus. 
$ lshw -class disk -- Show disk class devices (hd, sd,..) 
$ lshw -c network -- Show network class devices. 
$ lshw -c network -sanitize -- Remove the sensible details (IP, 
  Serial Number,..) from the output. It is useful for sharing 
  the output in mailing lists. 
$ lshw -numeric -- Show the numeric device ID also. 
$ lshw -xml > lshw.xml -- Dump the output in XML format.
$ lshw -html > lshw.html -- Dump the output in HTML format.

Read: man lshw

Advertisements
Tagged with: ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: