Return Codes

TABLE F-19lists the return codes for this subcommand.

TABLE F-19Return 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.

 

 

 

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] {offoncycle}

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

Page 170
Image 170
Sun Microsystems V20Z, V40z manual Platform Set Power State Subcommand, Table F-19lists the return codes for this subcommand