C.1 diags cancel tests, C.1.1 command, C.1.2 return codes – Sun Microsystems Sun Fire V20z User Manual

Page 100

Advertising
background image

C-2

Sun Fire V20z Server User Guide • March 2004

C.1

diags cancel tests

C.1.1

Command

Access: Administrators

Description: Cancels one or more diagnostic tests, resulting in the deletion of results
data.

Command format: diags cancel tests [[{ -t | --test} test_handle] [{-
a|--all}] [{-H | --noheader}]]

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

C.1.2

Return Codes

Following are the return values for this command:

Arguments

Description

{ -t | --test}

Specifies the test to cancel. (Note: The test_handle is
the same as the test handle that is output to the
screen when you submit the test.)

{-a | --all}

Cancels all tests.

{-H | --noheader}

Suppresses header output.

Return Code

ID

Description

NWSE_Success

0

Command successfully completed.

NWSE_InvalidUsage

1

Invalid usage: bad parameter usage,
conflicting options specified.

NWSE_RPCTimeout

2

Request was issued, but was not serviced
by the server. RPC procedure timed out
and the request may or may not have
been serviced by the server.

Advertising