HP server information from CLI

Want to know about the hardware in your HP Linux server? Assuming you have the Proliant Support Pack installed:

$ hpasmcli -s ‘show server’

System : ProLiant DL385 G1
Serial No. : USE518A6FN
ROM version : A05 04/22/2005
iLo present : Yes
Embedded NICs : 2
NIC1 MAC: 00:13:21:b3:e0:5a
NIC2 MAC: 00:13:21:b3:e0:59

Processor: 0
Name : AMD Opteron
Stepping : 1
Speed : 2400 MHz
Bus : 0 MHz
Socket : 2
Level2 Cache : 1024 KBytes
Status : Ok

Processor: 1
Name : AMD Opteron
Stepping : 1
Speed : 2400 MHz
Bus : 0 MHz
Socket : 1
Level2 Cache : 1024 KBytes
Status : Ok

Processor total : 2

Memory installed : 4096 MBytes
ECC supported : Yes