Ver el hardware del equipo: lshw

Hasta ahora siempre que hemos querido averiguar algún aspecto del hardware de nuestros equipos, en este blog hemos hecho mención del comando lspci con sus múltiples parámetros opcionales. La faena viene cuando deseamos conocer más en profundidad el Hardware de nuestro equipo.

Por ejemplo, si yo ejecuto en mi máquina Linux (en este caso una Debian/Ubuntu) el comando lspci, obtengo una salida como la siguiente:

root@alex-laptop:/home/alejandro# lspci
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 02)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 05)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
01:00.0 VGA compatible controller: ATI Technologies Inc M92 [Mobility Radeon HD 4500 Series]
01:00.1 Audio device: ATI Technologies Inc RV710/730
02:00.0 Ethernet controller: Atheros Communications AR8152 v1.1 Fast Ethernet (rev c1)
03:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g LP-PHY (rev 01)
3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
3f:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
3f:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)

Esta información es útil sin duda, pero como ya hemos dicho, en ocasiones se nos queda un poco escueta (puede aumentarse con los parámetros opcionales), pero para solucionar este problema existe un programa que nos dará más detalladamente información del hardware de nuestro equipo:

root@alex-laptop:/home/alejandro# lshw

Para instalarlo nos bastará con ejecutar en consola:

root@alex-laptop:/home/alejandro# aptitude install lshw

Una vez instalado, para ejecutarlo y obtener un output con la información del equipo nos bastará con ejecutar el programa (lshw); la salida será algo parecido a lo siguiente: Continue reading “Ver el hardware del equipo: lshw” »