Return codes, Example, Getnodes – HP Smart Update Manager User Manual
Page 118: Syntax, Parameters, Return codes example, Syntax parameters return codes, Windows sample command line, Linux/hp-ux sample command line

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 getneededupdates /nodes localhost
Linux/HP-UX sample command line
$ hpsum getneededupdates --nodes localhost
GetNodes
getnodes
enables you to show the list of the nodes in the current HP SUM session.
Syntax
hpsum getnodes [nodes [/details]]
Parameters
The getnodes command provides the following options:
Description
Option
The HP SUM script initiates this action.
hpsum
The command show the nodes in the current HP SUM
session.
getnodes
The nodes on which to perform the operation. Specify
[/details]
to get detail information.
nodes [/details]
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
118
Console Commands