00mfpm00
Usuario (Argentina)
LSHW (Hardware Lister) Obtención de especificaciones de hardware en Linux LSHW es una herramienta que proporciona información detallada sobre la configuración de hardware de la máquina. Como por ejemplo la configuración de memoria exacta, la versión de firmware , Mainboard configuración,la versión de CPU y la velocidad,la configuracion de cache, la velocidad del BUS, etc... La información puede ser de salida en formato de texto, HTML o XML. En la actualidad apoya DMI (x86 y sólo EFI), árbol de dispositivos OpenFirmware (PowerPC), PCI / AGP, ISA PnP (x86), CPUID (x86), IDE / ATA / ATAPI, PCMCIA (sólo probados en x86), y USB SCSI. Para obtener el listado de especificaciones de hardware hay que usar el comando "lshw" ("ls" de Lister y "hw" de hardware) como superusuario o mediante "sudo": -sudo lshw Con esa orden aparece un extenso y detallado listado con las características técnicas de la máquina en la que se ejecute. Como el listado resultante es muy largo se puede acotar a un área concreta, mediante el parámetro "-C" EJEMPLOS Acotar al procesador: -sudo lshw -C processor Acotar a los discos duros: -sudo lshw -C disk Acotar a la memoria RAM: -sudo lshw -C memory Acotar a la tarjeta de sonido: -sudo lshw -C sound Acotar a los dispositivos de conexión a Internet: -sudo lshw -C communication Para poder leerlo de forma más cómoda se puede guardar en formato HTML: -sudo lshw -html > nombre-de-archivo.html También se puede guardar en XML: -sudo lshw -html > nombre-de-archivo.html Existe un front-end gráfico: -gtk-lshw. ================================================================= REQUERIMIENTOS 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) Actualmente soporta DMI (x86 and EFI only), OpenFirmware device tree (PowerPC only), PCI/AGP, ISA PnP (x86), CPUID (x86), IDE/ATA/ATAPI, PCMCIA (only tested on x86), USB and SCSI. ================================================================= VERCIONES La última versión es la B 02.12.01. http://ezix.org/software/files/lshw-B.02.12.01.tar.gz Otras verciones disponibles en SourceForge.net. : VERCIONES PRECOMPILADAS Mandriva Linux *incluye lshw como un paquete estándar. Gentoo Linux http://www.gentoo.org/ *incluye lshw como un paquete estándar. los paquetes están disponibleS : http://packages.gentoo.org/ Debian http://www.debian.org/ los paquetes están disponible para muchas plataformas : http://packages.debian.org/lshw Fedora http://fedoraproject.org/ Ahora incluye lshw: -sudo yum install lshw lshw-gui instala lshw y su GUI. RPM para RedHat Linux(7.x & 9), RedHat Enterprise Linux 2 & 3) y Fedora Core(1, 2 & 3) disponibles en : ================================================================= INSTALACION DESEMPAQUETAR: tar xvfz lshw-release.tar.gz COMPILAR: cd lshw-release make CREAR "optional GUI": make gui CONSTRUIR RPM package: rpmbuild -ta lshw-release.tar.gz O INCLUIR "optional GUI": rpmbuild -ta --with gui lshw-release.tar.gz ================================================================= EJEMPLOS DE VISUALIZACION *****ordenador personal de Escritorio GTK + interfaz de usuario gráfico (gtk-lshw) ============================================================== *****Apple PowerMac dual G4 1.25GHz, 768MB memory ioscan-like output (lshw -short) ============================================================== H/W path Device Class Description ============================================================== system Computer /0 bus /0/fff00000 memory BootROM /0/0 /proc/device-tree memory OpenFirmware 3 /0/1 memory System memory /0/1/0 memory Memory bank /0/1/1 memory Memory bank /0/1/2 memory Memory bank /0/1/3 memory Memory bank /0/2 processor CPU /0/2/0 memory L1 Cache /0/2/1 memory L2 Cache (unified) /0/3 processor CPU /0/3/0 memory L1 Cache /0/3/1 memory L2 Cache (unified) /0/100 bridge Host bridge /0/100/10 /dev/fb0 display VGA compatible controller (VGA) /0/101 bridge Host bridge /0/101/17 generic KeyLargo Mac I/O /0/101/17/1 ide1 bus Channel 0 /0/101/17/1/0 /dev/hdc disk IDE CD-ROM /0/101/17/1/0/0 scsi0 storage SCSI storage controller /0/101/17/1/0/0/0 bus Channel 0 /0/101/17/1/0/0/0/0 /dev/dvd disk DVD reader /0/101/18 bus USB Controller (OHCI) /0/101/19 bus USB Controller (OHCI) /0/101/1b bus USB Controller (OHCI) /0/101/1b.1 bus USB Controller (OHCI) /0/101/1b.2 bus USB Controller (EHCI) /0/102 bridge Host bridge /0/102/d generic UniNorth 2 ATA/100 /0/102/d/2 ide2 bus Channel 0 /0/102/d/2/0 /dev/hde disk ATA Disk /0/102/e bus FireWire (IEEE 1394) (OHCI) /0/102/f eth0 network Ethernet controller ============================================================== *****Dell OptiPlex GXa Pentium II 266MHz 192MB memory ============================================================== dell product: OptiPlex GXa 266L EM+ vendor: Dell Computer Corporation serial: NL2SC capabilities: smbios-2.2 dmi-2.2 *-core *-firmware description: BIOS vendor: Dell Computer Corporation version: A10 (06/23/00) size: 64KB capacity: 192KB capabilities: isa pci pnp apm upgrade shadowing escd cdboot bootselect edd int13floppytoshiba int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video *-cpu product: Pentium II (Klamath) vendor: GenuineIntel slot: Microprocessor size: 266MHz capacity: 333MHz clock: 66MHz capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov mmx *-cache:0 description: Internal L1 Cache size: 32KB capacity: 32KB *-cache:1 description: Pipeline burst Synchronous External L2 write-back Cache size: 512KB capacity: 512KB *-memory description: System Memory slot: System board or motherboard size: 192MB capacity: 384MB *-bank:0 description: DIMM DRAM Synchronous 64 bits slot: DIMM_A size: 64MB *-bank:1 description: DIMM DRAM Synchronous 64 bits slot: DIMM_B size: 64MB *-bank:2 description: DIMM DRAM Synchronous 64 bits slot: DIMM_C size: 64MB ================================================================= MAS INFORMACION http://ezix.org/project/wiki/HardwareLiSter HOME http://ezix.org/project Saludos!!!!!