Hardware information displayed under Linux--LSHW
Lshw
LSHW (Hardware Lister) is another tool that can view hardware information, and it can also be used to do some hardware benchmark.
The tool is to use/proc inside to read some files to display the relevant information, it uses the following files and directories (under the file):
/proc/cpuinfo Displaying CPU information
/PROC/BUS/PCI displaying PCI information
/PROC/SCSI displaying SCSI information
/proc/net/dev Displaying network device information
/proc/kcore reading related information from a memory image
/proc/ide Displaying IDE device information
/proc/devices
/proc/mounts
/proc/fstab
Download and install:
-------------------------------------------------------------
cd/tmp
wget http://ezix.org/software/files/lshw-b.02.14.tar.gz 
tar lshw-b.02.14.tar.gz
cd lshw-b.02.14
make && make install
-------------------------------------------------------------
usage:
1. Simplest usage:
#  lshw
Like Dmidecode, output a whole bunch of stuff.
2. Output
# lshw-html > info.html  
# lshw-xml >info.xml
3. Display device list, output includes device path (path), Category (class), and simple description
#  Lshw-short
4. Displays a list of devices, including bus information, SCSI, USB, IDE, PCI address, and so on.
#  lshw-businfo  
5. Display devices for the specified category
#   lshw-c class #  Lshw-class class  
The class here can be viewed through lshw-short. For example
#  lshw-c memory  
6. View Help
# lshw-h
Hardware Lister (LSHW)-b.02.14
USAGE:LSHW [-format] [-options ...]
Lshw-version
-version Print Program version (b.02.14)
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
-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)
#
Relatively speaking, LSHW believe the information is relatively simple.
This digest from: http://www.sanotes.net/html/y2009/316.html, http://jiajun.iteye.com/blog/656709