Getting information about tasks (gettasks) – HP 9000 rp5405 Servers User Manual
Page 442
Getting information about tasks (GetTasks)
The
GetTasks
command obtains information about tasks that have been created for execution by
the CLI. The parameters enable you to specify a
taskID
for which you want information, retry interval,
and number of times to confirm a task status change. If you specify a
taskID
, the return value enables
you to confirm the task status. If you do not specify any parameters, all CLI tasks are displayed.
Syntax
To specify the task ID:
GetTasks [taskID=task-id]
To specify retry interval and number of times to retry:
GetTasks [taskID=task-id retryInterval=retry-interval
retryCount=number-of-retries]
Parameters
Description
Parameter
The task ID number of a task created using the CLI.
•
Each alphabetical character must be uppercase.
•
You cannot specify multpile
taskID
s.
•
If you do not specify the
taskID
, all CLI-based tasks are displayed.
taskID
Specifies the retry interval: 1-3600 seconds. Use of this parameter requires
that you specify the
taskID
and
retryCount
.
retryInterval
Specifies the retry count: 0-3600. A value of 0 means the
GetTasks
command
is retried until the task status changes. Use of this parameter requires that you
specify the
taskID
and
retryInterval
.
retryCount
Return values
Description
Value
Normal termination
0
An error occurred
1
The task is pending execution
100
The task is in execution
101
The task was cancelled
102
The task failed to execute
103
The execution was successful
104
The execution task timed out
105
Replication Manager CLI tools
442