3PAR InForm® OS 2.3.1 CLI Administrator's Manual (320-200180 Rev B, February 2010)

13.8
Task Manager
3PAR InForm CLI Administrator’s Manual InForm OS Version 2.3.1
13.2.6 Removing a Task
The removetask command only works on completed, failed, and cancelled tasks. Information
about a task remains on the system unless it is manually removed using the
removetask
command and the task ID. For example:
The specified task ID and any information associated with it are removed from the system.
However, task IDs are not recycled, so the next task started on the system will use the next
whole integer that has not already been used (for example,
455). Task ID numbers roll over at
9999.
13.2.7 Canceling a Task
For all task types except remote_copy_sync, scheduled_task, snapspace_accounting,
background_command, and system_task you can cancel an active task using the
canceltask command and the task ID. For example:
Information for the task will still be available with the showtask command, where the status
of the task will now appear as
Cancelled.
NOTE: To cancel the waittask command, use CTRL+C. This stops the waittask
command and returns a command prompt, but does not affect the task that is
running in the background.
cli% removetask 454
Remove the following tasks?
454
select q=quit y=yes n=no: y
cli# canceltask <task_ID>
select q=quit y=yes n=no: y