HP StorageWorks P9000 Tiered Storage Manager Software 7.1 CLI Reference Guide (TB585-96011, May 2011)

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.
Parameters
Parameters do not have to be specified.
Table 57 Parameters of the GetTasks command
DetailsParameter
Specify the task ID.
A unique ID given to the created task.
This parameter cannot be specified with other parameters.
id
CLI Reference Guide 135