HP StorageWorks P9000 Tiered Storage Manager Software 7.1 CLI Reference Guide (TB585-96011, May 2011)
htsmcli StopTask id=TK1ev677gu
• Execution results:
No information is output by this command.
DeleteTasks
The DeleteTasks command can be used to delete a task, specified by the id parameter, that has
the ended status (End).
You can specify a range of tasks using the status parameter, which indicates the task status. You
can also specify a type of task.
Furthermore, you can use any dates linked to the task, such as the creation date or end date, to specify
a range of tasks, such as the following:
• Tasks created (or ended) on or before the specified base date
• Tasks created (or ended) on or after the specified base date
• Tasks created (or ended) on the specified base date
Specify the --force option to delete the task without seeing the confirmation message. If the --force
option is omitted, a message for confirming each task will be output to the standard error output.
Syntax
htsmcli [ server-location] DeleteTasks
[ common-option ]
[ { -f | --force } ]
[ { id=task-ID |
[ { storagedomainname=storage-domain-name
[ migrationgroupname=migration-group-name ]
[ targetstoragetiername=target-storage-tier-name ]
| subsystemname=storage-system-name } ]
[ status=status [ ,status ]... ]
[ [ datetype = { Creation | End } ]
daystobase=days-to-base-date
[ direction={ Before | After | Just } ] ]
[ tasktype={ Migration | Shredding | Locking
| Unlocking | VolumeCreation | ExternalMapping } ] } ]
Options
-f or --force
Specify this option to delete without confirmation.
If this option is omitted, deletion will need to be confirmed for each task.
CLI Reference Guide 179