5 viewing test results, Viewing test results 3–11 – Sun Microsystems Sun Fire V20z User Manual

Page 51

Advertising
background image

Chapter 3

Troubleshooting and Diagnostics

3-11

To run the diagnostics tests, type the following command:

# diags run tests

option

Where the

option is one of the following:

For example, if

you suspect that you are having voltage problems, run the voltage

module diagnostic tests:

# diags run tests -m voltage

Refer to Appendix C for

more information about using these command options.

You can write scripts for additional control over the sequencing and timing of the
tests. For example, you could write a shell script to repeat a test a specified number
of times.

3.4.5

Viewing Test Results

After a test successfully executes, the status returns. When a test receives an error, it
reports the error and continues to run any remaining tests submitted with the
command.

The following output is typically generated for all diagnostics tests:

Submitted Test Name

Test Handle (

a dynamically assigned unique number used by the diagnostics

application to identify a running test)

Test Result (Passed, Failed)

Details (for example, Failure Details, Tests Details)

Specifying the

-v | --verbose option when running the test displays additional data

about a test. See Appendix C for more details.

For example, test details may include high, nominal, and low values.

Option

Description

-n

test_name

To run one test at a time, replace

test_name with the name of the test. You

can specify more than one test by listing test names with a space between
them.

-m

module

To run a batch of tests by module, replace module with the name of
the test module.

-a

Use this option to run all available diagnostics tests.

Advertising