HP 3PAR InForm OS 3.1.1 CLI Administrator's Manual
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 the System Scheduler commands. For
example, the tunevv command can be managed as a task but the tunevv command cannot be
scheduled with the System Scheduler commands.
• See Table 9 (page 123) for a complete list of the task manager commands.
• See Table 10 (page 127) for a complete list of the commands that can be managed with the
task manager commands.
• See Table 11 (page 134) for a complete list of the System Scheduler commands.
• See Table 12 (page 134) 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 InForm OS 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 InForm OS CLI, the system
displays the task ID as part of the command output. For example, when you issue the tunevv
command with the InForm OS 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
Task454is 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 124).
Task Manager Commands
You can use the task manager commands to display, cancel, and remove tasks running on the
system. See Table 9 (page 123) for a list of the InForm OS CLI task manager commands.
Table 9 Task Manager Commands
DescriptionCommand
Cancel one or more tasks.canceltask
Remove information about one or more tasks and their details.removetask
Overview 123