# Diags Command

The diags command manages diagnostics tests.

You can use the following diags subcommands to manage diagnostics tests:

Subcommand | Description
--- | ---
diags cancel tests | Cancels one or more diagnostic tests, resulting in the deletion of the results data.
diags get modules | Returns a list of test modules that are available. Queries the framework to obtain the test module information.
diags get state | Returns the state of the platform diagnostics control server.
diags get tests | Returns data describing the diagnostic tests that are available and their requirements and parameters.
diags run tests | Submits one or more diagnostic tests for execution.
diags start | Starts the Service Processor and platform diagnostics framework.
diags terminate | Terminates all diagnostics tests and terminates the diagnostics subsystem.

Notes

- Access privileges are not checked for diags commands that are run from the CD.
- Every command returns a return code upon completion.

Related Topics

System Management Commands

Glossary