7 console commands, Abort, Syntax – HP Smart Update Manager User Manual
Page 105: Parameters, Return codes, Example, Syntax parameters return codes example
7 Console Commands
Command keywords are case-insensitive. The mixed casing in this document is for readability.
Argument delimiters are those commonly used for each environment or operating system command
line, for example / for Windows and - for Linux.
The HP SUM binary executable maintains state information as needed on a per-session basis. HP
SUM saves this information in the HPSUM_BINARY.ini file. This file is in the C:\ProgramData\
Hewlett-Packard\
location in Windows and your home directory in Linux. HP SUM stores the
user, session ID, host, and port information. This information enables you to log in and run HP
SUM using different credentials.
Abort
abort
safely terminates any command. If you do not pass any specifics, the HP SUM terminates
the command as soon as it is safe.
Syntax
hpsum abort [--nodes [nodelist]]
Parameters
The abort command provides the following options:
Description
Option
The HP SUM script initiates this action.
hpsum
Abort pending HP SUM operations. If you do not specify
either nodes, all tasks for all nodes are terminated.
abort
A list of the nodes (full hostname or IP address) on which
to perform the abort operation. If you do not supply any,
all nodes in the session are aborted.
--nodes [nodelist]
Return codes
Text
Linux
Windows
Return Code
The command was successful
0
0
SUCCESS_NO_REBOOT
A general failure occurred. For details,
see the logs.
255
-1
FAILURE_GENERAL
A bad input parameter was encountered. For
details, see the logs.
254
-2
FAILURE_BAD_PARM
The command failed. For details, see the
logs.
252
-4
FAILURE_COMMAND_FAILED
Example
Windows Sample Command-Line
C:\>hpsum abort /nodes 100.2.3.4 100.2.3.5
Linux/HP-UX Sample Command-Line
$hpsum abort --nodes 100.2.3.4 100.2.4.5
Abort 105