# Diags Get Modules Subcommand

access: Administrators

Returns a list of test modules that are available. Queries the framework to obtain test module information.

> diags get modules [{-v|--verbose}] [{ -D | --Delim} Delimiter] [{-H|--noheader}] [{-h|--help}]

The following success text messages may return:

> diags get modules
> Module
> fan
> flash
> memory

> diags get modules -v
> Module Host Type
> fan SP
> flash SP
> memory PF

Arguments

Argument | Description
--- | ---
[{-v| --verbose}] | Display all columns.
[{ -D | --Delim} Delimiter] | Specify a field delimiter.
{-H | --noheader} | Suppress header output.
[{-h|--help}] | Display usage message.

Return Codes

Following are the return values for this command:

Code | Numeric Code | Description
--- | --- | ---
NWSE_RPCTimeout | 0 | Request was issued but not serviced by the server
NWSE_RPCNotConnected | 1 | Unable to connect to the ROPC server.
NWSE_NoPermission | 6 | Not authorized to perform operation.
NWSE_InvalidArgument | 4 | One or more arguments were incorrect or invalid.
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