Return codes – Sun Microsystems FIRE V40Z User Manual

Page 181

Advertising
background image

Appendix G

Sensor Commands

159

Return Codes

TABLE G-5

lists the arguments for this subcommand.

Note –

There are some sensors whose value does not change, some that are there to

provide information in the event of a problem, and others to facilitate the proper
operation of the software.

Many of these sensors do not have a related component (parent) associated with
them. For example, the die-temperature sensor for a CPU has the CPU as its parent
component, and a fan speed sensor has the fan as its parent component; the
product-id sensor, however, only reports a static value and has no parent
relationship.

This relationship establishes the component(s) which is affected by changes in the
value of the sensor. You cannot modify the thresholds for sensors without a parent
relationship since an event will never occur for these threshold crossings.

{-v | --value}

Sets the value of the sensor.

{-r | --reset}

Resets all thresholds for the specified sensor(s) to the factory
defaults.

{-R | --resetall}

Resets all thresholds for all sensors to the factory defaults.

TABLE G-5

Return Codes for Subcommand sensor set

Return Code

ID

Description

NWSE_Success

0

Command successfully completed.

NWSE_InvalidUsage

1

Invalid usage: bad parameter usage, conflicting options
specified.

NWSE_RPCTimeout

2

Request was issued, but was not serviced by the server.
RPC procedure timed out and the request may or may
not have been serviced by the server.

NWSE_RPCNotConnected

3

Unable to connect to the RPC server.

NWSE_InvalidArgument

4

One or more arguments were incorrect or invalid.

NWSE_NotFound

5

Entity (user, service, file, path or other) was not found.

NWSE_NoPermission

6

Not authorized to perform this operation.

TABLE G-4

Arguments for Subcommand sensor set

Arguments

Description

Advertising
This manual is related to the following products: