3PAR InForm® OS 2.2.4 CLI Administrator's Manual (320-200113 Rev A, March 2009)

13.3
About Tasks
InForm OS Version 2.2.4 3PAR InForm OS CLI Administrator’s Manual
When a task is started via the InForm CLI, (for example, by creating a physical copy as
illustrated in Chapter 8, Creating and Working with Snapshots), it is necessary to use the
InForm CLI to obtain the task ID manually. Use the InForm CLI
showtask command to obtain
task IDs manually. The following section provides more information about this command.
13.2.2 Showing Task Information
Once a task is started, you can use the task ID to obtain information about the task.
For example, you can use the
showtask -d command and the task ID (for example, 454) to
display status information about an ongoing or completed task as follows:
The columns in the example above are identified as follows:
Id - The task ID for the displayed task.
Type - The task type. Task types are explained in 13.3 Task Types on page 13.8.
Name -The name of the system object that is being operated on. When there are multiple
objects, those objects are not identified individually but as a group (for example,
multiple lds or multiple cpgs).
Status - The task state. Task states are as follows:
Done. - The task has completed successfully.
Active - The task is still in process.
Cancelled - The task was cancelled by the user.
Failed - The task failed to complete due to a reason other than user cancellation.
NOTE: A task can be started by actions performed via the InForm Management
Console (for example, creating a physical copy), but the task management
features described in this chapter are not currently supported by the InForm
Management Console.
cli% showtask -d 454
Id Type Name Status Phase Step ----------StartTime--------- ---------FinishTime-------
454 tune_vv testvol Done 0/0 0/0 Fri Apr 29 11:42:06 PDT 2005 Fri Apr 29 11:42:19 PDT 2005
Detailed status:
(...)