Return codes, Example, Getcomponentlogs – HP Smart Update Manager User Manual
Page 114: Syntax, Parameters, Return codes example, Syntax parameters, Windows sample command line, Linux/hp-ux sample command line
Description
Option
Baseline location to use for performing the operation.
Specify [/details] to get detailed baseline information.
location [/details]
This parameter retrieves the list of available baselines from
ftp.hp.com
list hp.com
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 getbaselines /list hp.com
Linux/HP-UX sample command line
$ hpsum getbaselines /list hp.com
GetComponentLogs
getcomponentlogs
enables you to view the component logs for a node.
Syntax
hpsum getcomponentlogs [--nodes [nodelist]] [--component [componentname]]
Parameters
The getcomponentlogs command provides the following options:
Description
Option
The HP SUM script initiates this action.
hpsum
The command to get the logs from the HP SUM engine.
getcomponentlogs
Nodes for this request. If you do not provide a nodelist,
all nodes in the session are used.
--nodes [nodelist]
The name of the component that HP SUM will display the
log.
--component [componentname]
114
Console Commands