Documente Academic
Documente Profesional
Documente Cultură
Top SiteMap
Facebook Twitter Print Email Pinterest Gmail Google+ LinkedIn Email App More
HP Proliant Server:hpasmcli
Refalence
http://h50146.www5.hp.com/products/software/oe/linux/mainstream/product/software/ima/hpasmcli.txt
[http://h50146.www5.hp.com/products/software/oe/linux/mainstream/product/software/ima/hpasmcli.txt]
http://h50146.www5.hp.com/products/software/oe/linux/mainstream/support/doc/general/mgmt/ima/v810/hpasmcli.txt
[http://h50146.www5.hp.com/products/software/oe/linux/mainstream/support/doc/general/mgmt/ima/v810/hpasmcli.txt]
Commands
show
Commands Note
hpasmcli -s "show dimm" Display Memory .
hpasmcli -s "show server" Displays various information about the system. CPU, System, Serial No, MAC
hpasmcli -s "show asr" Displays the Automatic System Recovery status and timeout.
hpasmcli -s "show ht" Displays the status of Processor Hyper-Threading.
hpasmcli -s "show iml" Displays the Integrated Management Log.
enable
Commands Note
hpasmcli -s "enable asr" Enables Automatic Server Recovery.
hpasmcli -s "enable ht" Enables Processor Hyper-Threading.
hpasmcli -s "enable pxe nic2" Enables PXE BOOT on specified NIC.
disable
Commands Note
hpasmcli -s "disable asr" Disables Automatic Server Recovery.
hpasmcli -s "disable ht" Disables Processor Hyper-Threading.
set
Explanation
NAME
hpasmcli - HP management CLI
SYNOPSIS
hpasmcli [-s "<command1>;<command2>;...<commandN>"]
DESCRIPTION
hpasmcli is a scriptable command line interface for interacting with
the hpasmd or hpasmxld management daemons. It is used to view/set/mod-
ify BIOS settings such as hyperthreading, boot control, and UID LEDs.
It can be used to display hardware status, such as fans, power sup-
plies, etc. It also can show, repair, and clear the IML.
The CLI supports TAB completion of command names and has a history
buffer that can be accessed using the up/down arrows.
https://cmdref.net/hardware/proliant/hpasmcli.html 1/6
08/01/2018 HP Proliant Server:hpasmcli [cmdref.net - Command Reference]
tus of the last command is returned to the shell. As an example, the
following first executes the ´SHOW SERVER´ command to retrieve basic
system information, and next reads the status of the UID:
OPTIONS
-s "<command1>;<command2;...<commandN>"
Enables script mode. hpasmcli will execute the commands listed as argu-
ments in the order written. At least one command must be specified.
COMMANDS
[ CLEAR | DISABLE | ENABLE | EXIT | HELP | NOTE | QUIT |REPAIR | SET |
SHOW ]
CLEAR [ IML ]
Clears the specified feature.
NOTE [ IML ]
IML - Add a maintenance note to the IML.
REPAIR [ IML ]
IML <entry> - Mark an IML entry as repaired.
BOOT sets the first boot device or the onetime boot option. FIRST
sets the first boot device. ONCE sets the next boot device.
SET SERIAL BIOS [ COM1 BAUD | COM2 BAUD | DISABLED ] - Set the
BIOS serial COM port baud rate. Baud rate must be either 9600,
19200, 57600 or 115200.
BOOT - Displays the current first boot device and one time boot
option.
https://cmdref.net/hardware/proliant/hpasmcli.html 2/6
08/01/2018 HP Proliant Server:hpasmcli [cmdref.net - Command Reference]
EXAMPLES
Show the system fan and temp status.
hpasmcli -s ’SHOW FAN; SHOW TEMP’
Example
Script mode (-s)
# /sbin/hpasmcli -s "show server"
System :
ProLiant DL360 G6
Serial No. :
CN700XXXXX
ROM version :
P64 03/30/2010
iLo present :
Yes
Embedded NICs 2:
NIC1 MAC: d8:d3:85:XX:86:XX
NIC2 MAC: d8:d3:85:XX:86:XX
Processor: 0
Name : Intel Xeon
Stepping : 5
Speed : 2400 MHz
Bus : 133 MHz
Core : 4
Thread : 8
Socket : 1
Level2 Cache : 1024 KBytes
Level3 Cache : 8192 KBytes
Status : Ok
Processor: 1
Name : Intel Xeon
Stepping : 5
Speed : 2400 MHz
Bus : 133 MHz
Core : 4
Thread : 8
Socket : 2
Level2 Cache : 1024 KBytes
Level3 Cache : 8192 KBytes
Status : Ok
Processor total : 2
DIMM Configuration
------------------
Processor #: 1
Module #: 1
Present: Yes
Form Factor: 9h
Memory Type: DDR3(18h)
Size: 4096 MB
Speed: 1600 MHz
Supports Lock Step: No
Configured for Lock Step: No
Status: Ok
https://cmdref.net/hardware/proliant/hpasmcli.html 3/6
08/01/2018 HP Proliant Server:hpasmcli [cmdref.net - Command Reference]
Processor #: 1
Module #: 3
Present: Yes
Form Factor: 9h
Memory Type: DDR3(18h)
Size: 4096 MB
Speed: 1600 MHz
Supports Lock Step: No
Configured for Lock Step: No
Status: Ok
scriptable command
http://h50146.www5.hp.com/products/software/oe/linux/mainstream/product/software/ima/hpasmcli.txt
[http://h50146.www5.hp.com/products/software/oe/linux/mainstream/product/software/ima/hpasmcli.txt]
#hpasmcli
--------------------------------------------------------------------------
NOTE: Some hpasmcli commands may not be supported on all Proliant servers.
Type 'help' to get a list of all top level commands.
--------------------------------------------------------------------------
hpasmcli> help
CLEAR DISABLE ENABLE EXIT HELP QUIT SET SHOW
Cartridge #: 0
Module #: 4
Present: Yes
Form Factor: 9h
Memory Type: 12h
Size: 512 MB
Speed: 400 MHz
Status: Ok
hpasmcli> show f1
The POST F1 prompt is currently delayed.
hpasmcli> show ht
Processor hyper-threading is currently disabled.
https://cmdref.net/hardware/proliant/hpasmcli.html 4/6
08/01/2018 HP Proliant Server:hpasmcli [cmdref.net - Command Reference]
#0 CDROM
#1 Floppy
#2 USBKEY
#3 HDD
#4 PXE
Power supply #2
Power Supply not present
Processor: 0
Name : AMD Opteron
Stepping : 2
Speed : 2200 MHz
Bus : 0 MHz
Socket : 2
Level2 Cache : 1024 KBytes
Status : Ok
Processor: 1
Name : AMD Opteron
Stepping : 2
Speed : 2200 MHz
Bus : 0 MHz
Socket : 1
Level2 Cache : 1024 KBytes
Status : Ok
Processor total : 2
hpasmcli> exit
Facebook Twitter Print Email Pinterest Gmail Google+ LinkedIn Email App More
https://cmdref.net/hardware/proliant/hpasmcli.html 6/6