Return codes, Example, Getcurrentlyinstalledversions – HP Smart Update Manager User Manual
Page 115: 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 getcomponentlogs /nodes localhost
Linux/HP-UX sample command line
$ hpsum getcomponentlogs --nodes 16.1.1.105 --component cp020024.exe
GetCurrentlyInstalledVersions
getcurrentlyinstalledversions
enables you to get the currently installed versions of
components on nodes in the current HP SUM session.
Syntax
hpsum getcurrentlyinstalledversions [--nodes [nodelist]]
Parameters
The getcurrentlyinstalledversions command provides the following options:
Description
Option
The HP SUM script initiates this action.
hpsum
The command to get the currently installed update version
of installed items.
getcurrentlyinstalledversions
A list of the nodes to get the installed versions. If you do
not provide a nodelist, all nodes in the session are used.
--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
GetCurrentlyInstalledVersions
115