HP StorageWorks P9000 Tiered Storage Manager Software 7.1.1 CLI Reference Guide (TB585-96014, September 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
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.
To require a response to a confirmation message before deleting a task, omit this option.
CLI Reference Guide 157