Some useful CLI utilities for HP DL servers running Linux.
hpacucli ctrl all show config
.
hpasmcli> show powersupply
Power supply #1
Present : Yes
Redundant: Yes
Condition: Ok
Hotplug : Supported
Power : 85 Watts
Power supply #2
Present : Yes
Redundant: Yes
Condition: Ok
Hotplug : Supported
Power : 110 Watts
.
[root@server ~]# hpacucli ctrl all show config
Smart Array P410i in Slot 0 (Embedded) (sn: 50024330455521FG)
array A (SAS, Unused Space: 0 MB)
logicaldrive 1 (68.3 GB, RAID 1, Interim Recovery Mode)
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 72 GB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 72 GB, Failed)
unassigned
physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 146 GB, OK)
physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 146 GB, OK)
SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 50024385462232FI)
.
hpasmcli> show server
System : ProLiant DL360 G7
Serial No. : CN74727033
ROM version : P68 05/05/2011
iLo present : Yes
Embedded NICs : 4
NIC1 MAC: 80:c1:6d:68:aa:20
NIC2 MAC: 80:c1:6d:68:aa:21
NIC3 MAC: 80:c1:6d:68:aa:30
NIC4 MAC: 80:c1:6d:68:aa:31
Processor: 0
Name : Intel Xeon
Stepping : 2
Speed : 3067 MHz
Bus : 133 MHz
Core : 6
Thread : 12
Socket : 1
Level1 Cache : 192 KBytes
Level2 Cache : 1536 KBytes
Level3 Cache : 12288 KBytes
Status : Ok
Processor: 1
Name : Intel Xeon
Stepping : 2
Speed : 3067 MHz
Bus : 133 MHz
Core : 6
Thread : 12
Socket : 2
Level1 Cache : 192 KBytes
Level2 Cache : 1536 KBytes
Level3 Cache : 12288 KBytes
Status : Ok
Processor total : 2
Memory installed : 16384 MBytes
ECC supported : Yes
hpasmcli>
hpasmcli> show
Invalid Arguments
SHOW ASR
SHOW BOOT
SHOW DIMM [ SPD ]
SHOW F1
SHOW FANS
SHOW HT
SHOW IML
SHOW IPL
SHOW NAME
SHOW PORTMAP
SHOW POWERMETER
SHOW POWERSUPPLY
SHOW PXE
SHOW SERIAL [ BIOS | EMBEDDED | VIRTUAL ]
SHOW SERVER
SHOW TEMP
SHOW TPM
SHOW UID
SHOW WOL
hpasmcli> show fans
Fan Location Present Speed of max Redundant Partner Hot-pluggable
--- -------- ------- ----- ------ --------- ------- -------------
#1 SYSTEM Yes NORMAL 49% Yes 0 No
#2 SYSTEM Yes NORMAL 49% Yes 0 No
#3 SYSTEM Yes NORMAL 49% Yes 0 No
#4 SYSTEM Yes NORMAL 49% Yes 0 No
hpasmcli>
hpasmcli> show temp
Sensor Location Temp Threshold
------ -------- ---- ---------
#1 AMBIENT 24C/75F 42C/107F
#2 CPU#1 40C/104F 82C/179F
#3 CPU#2 40C/104F 82C/179F
#4 MEMORY_BD 35C/95F 87C/188F
#5 MEMORY_BD 35C/95F 78C/172F
#6 MEMORY_BD 38C/100F 87C/188F
#7 MEMORY_BD 33C/91F 78C/172F
#8 MEMORY_BD 35C/95F 87C/188F
#9 MEMORY_BD 30C/86F 78C/172F
#10 MEMORY_BD 36C/96F 87C/188F
#11 MEMORY_BD 30C/86F 78C/172F
#12 POWER_SUPPLY_BAY 31C/87F 59C/138F
#13 POWER_SUPPLY_BAY 45C/113F 73C/163F
#14 MEMORY_BD 30C/86F 72C/161F
#15 PROCESSOR_ZONE 30C/86F 73C/163F
#16 PROCESSOR_ZONE 28C/82F 64C/147F
#17 MEMORY_BD 28C/82F 63C/145F
#18 PROCESSOR_ZONE 36C/96F 69C/156F
#19 SYSTEM_BD 40C/104F 69C/156F
#20 SYSTEM_BD 39C/102F 71C/159F
#21 SYSTEM_BD 44C/111F 65C/149F
#22 SYSTEM_BD 41C/105F 71C/159F
#23 SYSTEM_BD 41C/105F 69C/156F
#24 SYSTEM_BD 47C/116F 69C/156F
#25 SYSTEM_BD 34C/93F 63C/145F
#26 SYSTEM_BD 43C/109F 66C/150F
#27 SCSI_BACKPLANE_ZONE 9C/48F 60C/140F
#28 SYSTEM_BD 69C/156F 110C/230F
hpasmcli> show dimm
DIMM Configuration
------------------
Processor #: 1
Module #: 3
Present: Yes
Form Factor: 9h
Memory Type: DDR3(18h)
Size: 2048 MB
Speed: 1333 MHz
Supports Lock Step: Yes
Configured for Lock Step: No
Status: Ok
Processor #: 1
Module #: 6
Present: Yes
Form Factor: 9h
Memory Type: DDR3(18h)
Size: 2048 MB
Speed: 1333 MHz
Supports Lock Step: Yes
Configured for Lock Step: No
Status: Ok
Processor #: 1
Module #: 9
Present: Yes
Form Factor: 9h
Memory Type: DDR3(18h)
Size: 2048 MB
Speed: 1333 MHz
Supports Lock Step: Yes
Configured for Lock Step: No
Status: Ok
Processor #: 2
Module #: 3
Present: Yes
Form Factor: 9h
Memory Type: DDR3(18h)
Size: 2048 MB
Speed: 1333 MHz
Supports Lock Step: Yes
Configured for Lock Step: No
Status: Ok
Processor #: 2
Module #: 6
Present: Yes
Form Factor: 9h
Memory Type: DDR3(18h)
Size: 2048 MB
Speed: 1333 MHz
Supports Lock Step: Yes
Configured for Lock Step: No
Status: Ok
Processor #: 2
Module #: 9
Present: Yes
Form Factor: 9h
Memory Type: DDR3(18h)
Size: 2048 MB
Speed: 1333 MHz
Supports Lock Step: Yes
Configured for Lock Step: No
Status: Ok