HP P9000 Tiered Storage Manager Software 7.4.1-00 CLI Reference Guide (TB585-96029, April 2013)

Commands for managing tasks
This section explains the CLI commands for managing tasks.
The CLI cannot manage tasks created by using the GUI.
GetTasks
The GetTasks command can be used to obtain information about the task specified by the id
parameter, or about tasks that match other specified parameters.
You can use the tasktype parameter to specify the type of target task. You can also specify a range
of tasks by using the status parameter, which indicates the task status.
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
The GetTasks command can acquire and display information about multiple types of tasks. Therefore,
the output items depend on the task type. The output items are described for each task.
Syntax
htsmcli [ server-location] GetTasks
[ common-option ]
[ { -d | --detail } ]
[ { id=task-ID |
[ { storagedomainname=storage-domain-name
[ migrationgroupname=migration-group-name ]
[ targetstoragetiername=target-storage-tier-name ]
| subsystemname=stoarge-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
-d or --detail
Specify this to display detailed information in the standard output after CLI command execution.
If you omit this option, only summary information will be displayed.
CLI Reference Guide 119