HP 3PAR OS 3.1.3 Command Line Interface Reference

5 Cancel Command
canceltask
DESCRIPTION
The canceltask command cancels one or more tasks.
SYNTAX
canceltask [option] {all|<task_ID>...}
AUTHORITY
Service, Super, Edit
Any role granted the task_cancel right.
OPTIONS
f
Forces the command. The command completes the process without prompting for confirmation.
SPECIFIERS
all
Cancels all active tasks. If not specified, a task ID(s) must be specified.
<task_ID>...
Cancels only tasks identified by their task IDs. The <task_ID> must be an unsigned integer within
1-29999 range.
RESTRICTIONS
None
EXAMPLES
The following example shows how to cancel a task using the task ID:
cli% canceltask 1
Are you sure you want to cancel task 1?
select q=quit y=yes n=no: y
NOTES
See the HP 3PAR OS CLI Administrator’s Manual for additional information and examples
regarding task management and task management commands.
The canceltask command can return before a cancellation is completed. Thust, resources
reserved for a task might not be immediately available. This can prevent actions like restarting
the canceled task. Use the waittask command to ensure orderly completion of the cancellation
before taking other actions. See waittask” (page 664) for details.
The restart option associated with the tunevv command enables a tunevv task to be
resumed. See “tunevv” (page 655) for more information.
A Service user is only allowed to cancel tasks started by that specific user.
56 Cancel Command