# Diags Get Tests Subcommand

access: Administrators

Returns data describing the diagnostic tests that are available. This data includes the specific test name and the module to which the test applies.

> diags get tests [{-H | --noheader}] [{-D | --delim} <DELIMITER>]
> [-v|--verbose]

Argument | Description
--- | ---
{-H | --noheader} | Suppresses header output
{ -D | --delim } | Delimits columns with the specified delimiter. Headings are also delimited unless suppressed. The delimiter can be any character or string.
[-v|--verbose] | If specified, Host Type, Services, and Devices display in addition to Module and Testname.

If the output for certain tests wraps, you can redirect the output to a file and view it with an editor for better readability.

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_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