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

Page 117: Getneededupdates, Syntax, Parameters return codes example, Syntax parameters

Advertising
background image

Parameters

The getlogs command provides the following options:

Description

Option

The HP SUM script initiates this action.

hpsum

The command to get the current trace logs.

getlogs

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 getlogs

Linux/HP-UX sample command line

$ hpsum getlogs

GetNeededUpdates

Enables you to show which updates are needed based on nodes selected in the current session.

getneededupdates

enables you to see the details of needed updates based on either the state

of the current selections or items passed in as part of the command. If you do not specify any
nodes, the command uses those currently selected in the session.

Syntax

hpsum getneededupdates [--nodes [nodelist]]

Parameters

The getneededupdates command provides the following options:

Description

Option

The HP SUM script initiates this action.

hpsum

The command shows needed updates.

getneededupdates

A list of the nodes on which to perform the check for
needed updates operation. If you do not specify a nodelist,
all nodes in the session are used.

--nodes [nodelist]

GetNeededUpdates

117

Advertising