Print Download PDF Send Feedback

Previous

Next

Collecting System Diagnostics (asg diag)

The asg diag command runs a specified set of diagnostic tests. By default, the full set of tests runs. You can optionally select the tests to run. The output shows the result of each test (Passed or Failed) and the location of the output log file.

Syntax

asg diag list|verify|print|except [<Test1>][,<Test2>,...]

asg diag purge [<num_logs>]

asg diag stat

Parameter

Description

list

Show the list of tests to run.

verify

Run tests and show a summary of the results.

print

Run tests and show the full output and summary of the results.

except

Run all except the specified tests and show a summary of the results.

[<Test1>][,<Test2>,...]

Comma separated list of test IDs. To see a list of test IDs, run:

> asg diag list

purge

Delete the asg diag logs except for the newest.

[<num_logs>]

The number of most recent logs to keep when asg diag logs files. Default = 5.

stat

Shows the last summary of the results.

This example shows the output for the system component tests.

| Tests Status |

--------------------------------------------------------------------------------

| ID | Title | Result | Reason |

--------------------------------------------------------------------------------

| System Components |

--------------------------------------------------------------------------------

| 1 | System Health | Passed | |

| 2 | Hardware | Passed | |

| 3 | Resources | Failed (!) | (1)Memory capacity |

| | | | (2)Primary HD capacity |

| | | | (3)Log HD capacity |

| | | | (4)Boot HD capacity |

| | | | (5)Primary HD capacity mismatch |

| 4 | Software Versions | Failed (!) | |

| 5 | Software Provision | Passed | |

| 6 | CPU Type | Failed (!) | (1)Non-compliant CPU type |

| 7 | Media Details | Passed | |

| 8 | Chassis ID | Passed | |

--------------------------------------------------------------------------------

Related Topics

Showing the Tests

Running all Diagnostic Tests

Running Specified Diagnostic Tests

Troubleshooting Failures

Error Types

Changing Compliance Thresholds