Syntax, Parameters, Return codes – HP Smart Update Manager User Manual

Page 113: Example, Getbaselines, Syntax parameters return codes example, Syntax parameters

Advertising
background image

Syntax

hpsum getattributes

Parameters

The getattributes command provides the following options:

Description

Option

The HP SUM script initiates this action.

HPSUM

The command to show attributes for the selected nodes.

getattributes

A list of the nodes for which to get the attributes. If you do
not specify a nodelist, all nodes in the session are shown.

--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 getattributes /nodes localhost

Linus/HP-UX sample command line

$ hpsum getattributes --nodes localhost

GetBaselines

Enables you to show the baselines in the current HP SUM session.

getbaselines

enables you to show the list of the baselines in the current HP SUM session.

Syntax

hpsum getbaselines [baseline [/details] | /list hp.com]

Parameters

The getbaselines command provides the following options:

Description

Option

The HP SUM script initiates this action.

hpsum

The command shows the baselines in the current HP SUM
session.

getbaselines

GetBaselines

113

Advertising