setdisktrace

Use the setdisktrace command to set a list of disks of a given type, to include in a disk trace.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- svctask -- -- setdisktrace -- -- -type --+- mdisk -+-- ----->
                                             '- vdisk -'      

>--+- -set ---+-- --+- -all ----------------------+------------->
   '- -reset -'     '- -objectid id_or_name_list -'   

>--+- -objectid---------+--------------------------------------><
   '- -id_or_name_list -'   

Parameters

-type mdisk | vdisk
(Required) Specifies the object type for the disks.
-set
(Optional) Specifies the set argument. You cannot use the -set parameter with the -reset parameter.
-reset
(Optional) Specifies the reset argument. You cannot use the -set parameter with the -reset parameter.
-all
(Optional) Traces all disks of the specified type. You cannot use the -all parameter with the -objectid parameter.
-objectid id_or_name_list
(Optional) Specifies a list of one or more disk IDs or names. You cannot use the -objectid parameter with the -all parameter.

Description

The setdisktrace command marks the disks to be included in the next triggered trace.

The command is used with the svctask settrace command, which sets the options that result in a trace file and the data that is included in the trace file.

An invocation example

svctask setdisktrace -type mdisk -objectid
mdisk1:mdisk3:mdisk11:mdisk10:mdisk9:mdisk5 -reset

The resulting output

No feedback
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.