dmidecode for hardware info

Dmidecode dumps the System Management BIOS. Use this built-in tool to get information on your motherboard, CPU, RAM chips, and more! Here’s a sample:

Handle 0x0007, DMI type 6, 12 bytes.
Memory Module Information
Socket Designation: DIMM 2
Bank Connections: 2 3
Current Speed: Unknown
Type: DIMM SDRAM
Installed Size: 512 MB (Double-bank Connection)
Enabled Size: 512 MB (Double-bank Connection)
Error Status: OK