HP 3PAR Command Line Interface Administrator's Manual: HP 3PAR OS 3.1.2 (QR482-96525, September 2013)

13 Managing Tasks
Overview
Some system operations with long running times can be managed as system tasks and initiated at
scheduled times. The larger your system, the longer some CLI command operations take to complete.
With the task manager you can pause, cancel, or remove tasks running on the system. The System
Scheduler allows you to create, modify, and remove schedules for initiating tasks.
The group of CLI commands that can be managed with the task manager CLI commands is different
from the group of CLI commands that can be scheduled with System Scheduler commands. For
example, the tunevv command can be managed as a task but the tunevv command cannot be
scheduled with System Scheduler commands.
See Table 10 (page 126) for a complete list of the task manager commands.
See Table 11 (page 130) for a complete list of the commands that can be managed with the
task manager commands.
See Table 12 (page 137) for a complete list of the System Scheduler commands.
See Table 13 (page 137) for a complete list of the commands that can be scheduled with the
System Scheduler commands.
Task Manager
With the task manager CLI commands, you can display, cancel, or remove tasks running on the
system.
Tasks are created in one of two ways:
by a user or script issuing certain HP 3PAR CLI commands, such as the tunevv command.
by the system initiating certain automated or scheduled processes, such as the periodic
resynchronization of remote copy volumes groups.
Task IDs
Each task is identified by a task ID. When a task is started with the HP 3PAR CLI, the system displays
the task ID as part of the command output. For example, when you issue the tunevv command
with the HP 3PAR CLI, a task is started in order to track the progress of the tunevv operation.
The task ID is indicated in the output for the tunevv command. In the following example, Task454
is started as part of the tunevv operation.
cli% tunevv usr_cpg testcpg testvol
Task 454 started
Use the CLI showtask command to display the task IDs. For information about displaying task
IDs in the system, see “Displaying Task Information” (page 127).
Task Manager Commands
You can use the task manager commands to display, cancel, and remove tasks running on the
system. See Table 10 (page 126) for a list of the HP 3PAR CLI task manager commands.
Table 10 Task Manager Commands
DescriptionCommand
Cancel one or more tasks.canceltask
Remove information about one or more tasks and their details.removetask
126 Managing Tasks