Return codes, Platform set power state subcommand, Format – Sun Microsystems FIRE V40Z User Manual

Page 170

Advertising
background image

148

Sun Fire V20z and Sun Fire V40z Servers, Server Management Guide • May, 2004

Return Codes

TABLE F-19

lists the return codes for this subcommand.

Platform Set Power State Subcommand

Description: Provides the ability to turn the platform power on or off from within a
script. However, there are equivalent, less-destructive commands available. This
command does not notify the platform OS of the request through the supplied
channels.

Format

Command format:

platform set power state [{-W|--nowait}] [{-f|--forced}]

[{-t|--timeout} TIME] {off|on|cycle}

TABLE F-19

Return codes for Subcommand platform get power state

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_NoPermission

6

Not authorized to perform this operation.

Advertising
This manual is related to the following products: