Âü°í : http://ezix.org/project/wiki/HardwareLiSter
Requirements
- Linux 2.4.x or 2.6.x (2.2.x might work, though)
- a PA-RISC, Alpha, IA-64 (Itanium), PowerPC or x86 based machine
- an ANSI (or close enough to ANSI compliance) C++ compiler (tested with GCC 2.95.4 and 3.2.2)
- for the (optional) GTK+ graphical user interface, you will need a complete GTK+ 2.4 development environment (gtk2-devel on RedHat/Fedora derivatives)
Information can be output in plain text, XML or HTML.
lshw ´Â list Hardward ÀÇ ¾àÀÚ·Î ½Ã½ºÅÛÀÇ hardware ±¸¼º Á¤º¸¸¦ »ó¼¼ÇÏ°Ô °¡Á®´Ù º¸¿©ÁÖ´Â ÀÛÀº ÅøÀÔ´Ï´Ù.
DMI(Desktop Management Interface)°¡´ÉÇÑ X86 , IA-64, PowerPC ¿¡¼ Á¤È®ÇÑ ¸Þ¸ð¸® ±¸¼º, firmware ¹öÁ¯, mainboard ±¸¼º, CPU version°ú speed, cache ±¸¼º, Bus speed µîÀ» º¸¿©ÁÝ´Ï´Ù.
ÇöÀç lshw´Â 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 ¸¦ Áö¿øÇϸç xml, html,¹ÙÀ̳ʸ®µîÀÇ Æ÷¸ËÇüÅ·Π»Ì¾ÆÁÖ´Â ÇÁ·Î±×·¥ÀÔ´Ï´Ù.
Source ¼³Ä¡
RPM ¼³Ä¡
[root@localhost src]# yum install lshw lshw-gui
¡Ø lshw-gui ´Â GUI ¸ðµåÁö¿ø
TEXT ¸ðµå¿¡¼ lshw-gui »ç¿ë½Ã... ¾Æ·¡¿Í °°Àº¿¡·¯°¡~
[root@localhost src]# lshw-gui
(lshw-gui:5705): Gtk-WARNING **: cannot open display:
NAME
lshw - list hardware
SYNOPSIS
lshw [ -version ]
lshw [ -help ]
lshw [ -X ]
lshw [ -html | -short | -xml | -businfo ] [ -class class ... ] [ -disable test ... ]
[ -enable test ... ] [ -sanitize ] [ -numeric ] [ -quiet ]
lshw : Çϵå¿þ¾î Á¤º¸ ÀÚ¼¼È÷
lshw -short : °£·«ÇÏ°Ô È®ÀÎ
lshw -businfo : bus ¿¡ ´ëÇÑ Á¤º¸¸¸ È®ÀÎ
lshw -help : ¿É¼Ç¼³¸í
lshw -html > index.html : html À¥ÆäÀÌÁöÇüÅ·Î
lshw-gui »ç¿ë½Ã
lshw html ÆÄÀÏ·Î º¯È¯ : ±ò²ûÇÏÁö´Â ¸øÇѵí...
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.)