Leyendo el Blog O’Matty he descubierto este excelente comando para obtener informacion detallada del hardware de una maquina (menos criptico que los prtdiag/prtconf), con Opensolaris: smbios(1M) obtiene la informacion de la BIOS de la maquina.
Extraido del man:
DESCRIPTION The smbios utility displays the contents of the System Management BIOS (SMBIOS) image exported by the current sys- tem or stored in a file. SMBIOS is an industry-standard mechanism for low-level system software to export hardware configuration information to higher-level system management software. The SMBIOS data format itself is defined by the Distributed Management Task Force (DMTF). Refer to http://www.dmtf.org for more information about SMBIOS and to obtain a copy of the SMBIOS specification and implementation guidelines.
Por ejemplo, en mi nuevo servidor veo:
Informacion de la BIOS:
ID SIZE TYPE 0 79 SMB_TYPE_BIOS (BIOS information) Vendor: Phoenix Technologies, LTD Version String: R01-A0L Release Date: 09/17/2008 Address Segment: 0xe000 ROM Size: 1048576 bytes Image Size: 131072 bytes
Informacion de la maquina:
ID SIZE TYPE 1 77 SMB_TYPE_SYSTEM (system information) Manufacturer: eMachines Product: EL1200 Version: R01-A0 Serial Number: 98Y2D7ZEF0841077483001 ID SIZE TYPE 4 94 SMB_TYPE_PROCESSOR (processor) Manufacturer: AMD Version: AMD Athlon(tm) Processor LE-1600 Serial Number: Asset Tag: Location Tag: Socket AM2 Part Number: Family: 1 (other) CPUID: 0x78bfbff00050ff3 Type: 3 (central processor) Socket Upgrade: 17 (socket 940) Socket Status: Populated Processor Status: 1 (enabled) Supported Voltages: 1.2V External Clock Speed: Unknown Maximum Speed: 2200MHz Current Speed: 2211MHz L1 Cache: 8 L2 Cache: 9 L3 Cache: None
Informacion de la memoria:
ID SIZE TYPE 19 15 SMB_TYPE_MEMARRAY (physical memory array) Location: 3 (system board or motherboard) Use: 3 (system memory) ECC: 3 (none) Number of Slots/Sockets: 2 Memory Error Data: Not Supported Max Capacity: 8589934592 bytes ID SIZE TYPE 20 86 SMB_TYPE_MEMDEVICE (memory device) Manufacturer: 7F4F000000000000 Serial Number: 0007CA3F Asset Tag: None Location Tag: A0 Part Number: JM800QLU-1G Physical Memory Array: 19 Memory Error Data: Not Supported Total Width: 64 bits Data Width: 64 bits Size: 1073741824 bytes Form Factor: 9 (DIMM) Set: None Memory Type: 19 (DDR2) Flags: 0x0 Speed: Unknown Device Locator: A0 Bank Locator: Bank0/1
En Linux se puede sacar esta información con lshw.


Está bien saberlo :)
El “lshw” lo he probado en una RH ES 4.4 y no existe :( ¿en que distro lo has probado tu?
Lo tienes en Debian (con lo que en Ubuntu apuesto que esta): http://packages.debian.org/stable/utils/lshw.
Para RH no tengo claro si viene por defecto con el SO, pero puedes bajar el rpm de DAG: http://dag.wieers.com/rpm/packages/lshw/.
Por cierto, cuando lo tengas, prueba la opcion –short de lshw, seguro que te suena familiar… :p
En una CentOS 5.2 que tengo aqui existe otro comando (y seguro que en RH 5 tambien), lshal que da tambien mucha informacion hardware (creo que requiere un demonio lanzado).