beautypg.com

Example, Getenginestatus, Syntax – HP Smart Update Manager User Manual

Page 116: Parameters, Return codes, Getlogs, Syntax parameters return codes example

background image

Example

Windows sample command line

C:\> hpsum getcurrentlyinstalledversions /nodes localhost

Linux/HP-UX sample command line

$ hpsum getcurrentlyinstalledversions --nodes localhost

GetEngineStatus

Enables you to query the status of the HP SUM Engine.

getenginestatus

enables you to retrieve the status information session manager.

Syntax

hpsum getenginestatus

Parameters

The getenginestatus command provides the following options:

Description

Option

The HP SUM script initiates this action.

hpsum

The command to get the session status pending HP SUM
operations.

getenginestatus

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 getenginestatus

Linux/HP—UX sample command line

$hpsum getenginestatus

GetLogs

getlogs

launches the GetLots function for HP SUM.

Syntax

hpsum getlogs

116

Console Commands