![](/images/new-backgrounds/1186275/186275263x1.webp)
Diags Get State Subcommand
Description: Returns the state of the
Format
Command format:
diags get state
If the result returned from the command is that the platform is up and ready for diagnostics, then you can submit platform diagnostic tests for execution.
Success Text message – The Platform Diagnostics are up and are available to receive test requests.
Error Text Message – The Platform Diagnostics are not up.
Return Codes
TABLE C-4 lists the return codes for this subcommand.
TABLE C-4 Return Codes for Subcommand diags get state
Return Code | ID | Description |
|
|
|
NWSE_Success | 0 | Command successfully completed. |
NWSE_InvalidUsage | 1 | Invalid usage: bad parameter usage, conflicting options |
|
| specified. |
NWSE_DeviceError | 25 | Unable to read or write to the device. |
|
|
|
110 Sun Fire V20z and Sun Fire V40z Servers, Server Management Guide • May, 2004