Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

Monitoring and controlling tasks
The VxVM task monitor tracks the progress of system recovery by monitoring
task creation, maintenance, and completion. The task monitor lets you monitor
task progress and modify characteristics of tasks, such as pausing and recovery
rate (for example, to reduce the impact on system performance).
Note: VxVM supports this feature only for private disk groups, not for shared disk
groups in a CVM environment.
Specifying task tags
Every task is given a unique task identifier. This is a numeric identifier for the
task that can be specified to the vxtask utility to specifically identify a single task.
Several VxVM utilities also provide a -t option to specify an alphanumeric tag of
up to 16 characters in length. This allows you to group several tasks by associating
them with the same tag.
The following utilities accept the -t option:
vxassist
vxevac
vxmirror
vxplex
vxrecover
vxrelayout
vxresize
vxsd
vxvol
For example, to execute a vxrecover command and track the resulting tasks as a
group with the task tag myrecovery, use the following command:
# vxrecover -g mydg -t myrecovery -b mydg05
To track the resulting tasks, use the following command:
# vxtask monitor myrecovery
Any tasks started by the utilities invoked by vxrecover also inherit its task ID
and task tag, establishing a parent-child task relationship.
Administering volumes
Monitoring and controlling tasks
340