C.3 diags run tests, C.3.1 command, Diags run tests – Sun Microsystems Sun Fire V20z User Manual

Page 103

Advertising
background image

Appendix C

Diagnostics Commands

C-5

C.3

diags run tests

C.3.1

Command

Access: Administrators

Description: Submits one or more diagnostic tests for execution.

Command format: diags run tests [ [{ -n | --name} test_name] [{-a|
--all}] [-H | --noheader] [-P | --noprogress] [{-m | --module}
module] [-v | --verbose]

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).

Arguments

Description

{ -n | --name

test_name

}

Specifies the specific test(s) to execute. See

TABLE 3-1

for test_name values. Run diags get

tests

for a list of individual test names.

{-a | --all}

Specifies that all tests are to be executed. Run
diags get tests

for a list of all available tests.

Specifying no arguments also runs all tests for each
device in the system.

{-H |--noheader}

Suppresses header output.

{-P | --noprogress}

Suppresses progress dots when waiting for test
results.

{-m | --module

module

}

Specifies that only tests for the specified module are
to be executed. See

TABLE 3-1

for module values.

Run diags get tests for a list of modules.

[-v | --verbose]

If specified, test details display following the test
result line.

Return Code

ID

Description

Advertising