# Diags Terminate Subcommand

access: Administrators

Terminates all diagnostics tests and the diagnostics session.

> diags terminate

The terminate command for CD diags call the command ‘shutdown -h now’ after the framework has been unloaded. To avoid the call to the shutdown command, use the argument --noShutdown:

> diags terminate [{-n|--noShutdown}]

Arguments

Argument | Description
--- | ---
[{-n|--noShutdown}] | Specifies to start diagnostics on the Service Processor from the NFS mount without rebooting the platform into diags mode. This option is not available when running diagnostics from CD.

Return Codes

Following are the return values for this command:

Code | Numeric Code | 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_NoPermission | 6 | Not authorized to perform this operation.
NWSE_MissingArgument | 7 | Missing argument(s).
NWSE_NoRouteToHost | 13 | No route to host (network down). Occurs when CD diagnostics is unable to send a packet to the Service Processor on a specific port.
NWSE_ServiceNotAvailable | 24 | Requested service is not available. CD diagnostics are running, user is trying to run diagnostics on the Service Processor.

Related Topics

System Management Commands

Diags Command