beautypg.com

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

Page 112: Getattributes, Parameters return codes example, Windows sample command line, Linux/hp—ux sample command line

background image

Parameters

The generatereports command provides the following options:

Description

Option

The HP SUM script initiates this action.

hpsum

The command to generate reports within the HP SUM
session.

generatereports

If you specify the type parameter, it must be one of the
following:

--type inventory | firmware | installables

| faileddep | installed | combined

Inventory

Firmware

Installables

Faileddep

Installed

Combined

If you do not provide a type, all types possible are
generated.

Output format (defaults to attributes value). If you do
not provide an output type, all formats are produced.

--output html | xml | csv

List of nodes to include in the reports. If you do not specify
a list of nodes, all nodes in the current session are selected.

--nodes [nodelist]

List of baselines to include in the reports. If you do not
specify a list of baselines, all baselines in the current session
are selected.

--baselines [baselinelist]

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 generatereports /type inventory /nodes localhost

Linux/HP—UX sample command line

$ hpsum generatereports --type faileddep –-nodes 10.7.85.0 10.7.85.128

GetAttributes

Enables you to show attributes for parts of the select nodes

getattributes

enables you to view any of the attributes for the selected node. You can change

attributes using the SetAttributtes command.

112

Console Commands