
Detailed Command Descriptions 87
sourceControllerDeviceNumber=3:A7
targetControllerDeviceNumber=2:84
D:\>
4-4-3 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 also specify a range of tasks by using the status parameter, which indicates the task status.
You can also use 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
Command Syntax
htsmcli server-location GetTasks
{ -u | --username } user-name
{ -p | --password } { password | @name-of-password-file }
[ { -o | --output } name-of-the-standard-output-redirect-file ]
[ { -d | --detail } ]
[ { id=task-ID |
[ storagedomainname=storage-domain-name
[ migrationgroupname=migration-group-name ]
[ targetstoragetiername=target-storage-tier-name ] ]
[ status= status [, status ] ....]
[ [ datetype= { Creation
| End } ] daytobase=days-to the-base-date
[ direction= { Before | After | Just
} ] ] } ]
Table 4-57 Options of the GetTasks Command
Option Name Option Arguments Optional or Required Description
-d or
--detail
None Optional Specify this to output all information about the task to the
standard output, after command execution. If this is omitted,
only summary information
#
is output.
#
Summary information consists of the information for items for which the Output by -d column is blank in Table
4-59.
Table 4-58 Parameters of the GetTasks Command
Parameter Name Optional or Required Description
id Optional Specify the task ID.
This parameter cannot be specified with other parameters.
storagedomainname Optional
Specify the name of the storage domain. This must be specified when
migrationgroupname or targetstoragetiername is specified.
migrationgroupname Optional Specify the name of the migration group, along with
storagedomainname.
Kommentare zu diesen Handbüchern