Server User Manual

114 Sun Fire V20z and Sun Fire V40z Servers, Server Management Guide May, 2004
Diags Start Subcommand
Description: Starts the SP and platform-diagnostics framework. You must execute
this command before running any tests. After running this command, you can
immediately run Service Processor tests or wait for the subcommand diags get
state to return the result platform diags available, at which point you can run
platform tests.
The platform state must be either off or OS Communicating. Refer to the
subcommand platform get os state for details about these states.
Format
Command format:
diags start {--noplatform}
Return Codes
TABLE C-9 lists the return codes for this subcommand.
Arguments Description
{--noplatform} Lets you enable diagnostics when the platform
power is on and the OS is running.
TABLE C-9 Return Codes for Subcommand diags start
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.