vxtask

The vxtask utility has keywords and operands to:

The vxtask list /? command brings up a description of the following syntax:

vxtask [-x][-p] [-g<DynamicDiskGroupName>] [-v<VolumeName> |Driveletter | <VmName>] list

The following attributes can apply:

-g<DynamicDiskGroupName>

Name of the dynamic disk group for which the task information is displayed. For example, -gDynDskGrp1.

[-v<VolumeName | Driveletter | VmName>]

Displays task information for the specified volume. The <VolumeName> is the path name of the volume. The <VmName> parameter requires the use of the -g option, such as -gDG1 Volume1.

- x

Displays the extended information such as, Task Name, Source, Target, TaskComplete(%), TaskID, and the State.

Each task has a unique task ID. The State displays if the task is Paused or is Running.

- p

Displays the tasks that are paused and the ones that can be paused, along with the extended information.

The vxtask pause /? command brings up a description of the following syntax:

vxtask [-g<DynamicDiskGroupName>] [-v<VolumeName>|<Driveletter>|<VmName>] -t<TaskID> [-s] pause

Where,

-g<DynamicDiskGroupName>

Name of the dynamic disk group for which the task information is displayed. For example, -gDynDskGrp1.

[-v<VolumeName>|<Driveletter>|<VmName>]

Displays task information for the specified volume. The <VolumeName> is the path name of the volume. The <VmName> parameter requires the use of the -g option, such as -gDG1 Volume1.

-t<TaskID>

Unique ID of a task that is used while pausing or resuming the task.

-s

Silent mode. Suppresses the user warnings and prompts.

The vxtask resume /? command brings up a description of the following syntax:

vxtask [-g<DynamicDiskGroupName>] [-v<VolumeName>|<Driveletter>|<VmName>] -t<TaskID> resume

Where,

-g<DynamicDiskGroupName>

Name of the dynamic disk group for which the task information is displayed. For example, -gDynDskGrp1.

[-v<VolumeName>|<Driveletter>|<VmName>]

Displays task information for the specified volume. The <VolumeName> is the path name of the volume. The <VmName> parameter requires the use of the -g option, such as -gDG1 Volume1.

-t<TaskID>

Unique ID of a task that is used while pausing or resuming the task.

By default the information on all the tasks running on the managed server are displayed unless the -g or -v options is specified.

Examples

vxtask -x list

Displays the task details and percentage completion information for all the tasks running on a managed server.

vxtask -x -gDynDskGrp1 list

Displays the details of the tasks relating to the disk group DynDskGrp1 and its percentage completion information.

Vxtask -t TaskID pause

Pauses the specified task.

Note:

If the task includes certain subtasks, you cannot pause them individually. The entire set of task (parent task) is paused.

Vxtask -t Taskid resume

Resumes the specified task.

You can resume only the tasks that are in Paused state. The operation resumes from the point where it was paused. However, if the system restarts or the resource fails over when the task is paused, the task is reinitialized.