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

Command execution example (10):
In this example, the GetTasks command is executed to acquire summary information about tasks
that were created within a 5-day period before the command is executed and whose current status
is Standby.
htsmcli GetTasks status="Standby" datetype="Creation" daystobase="5"
direction="After"
Execution results (10):
RESPONSE:
List of 1 Task elements:
An instance of Task(1 of 1)
ID=TK1k7lqmqu
taskType=VolumeCreation
status=Standby
creationTime=2011/04/10 08:44:45
executionRequestTime=
startTime=
timeElapsed=
endTime=
ownerID=user
totalCapacityInGB=19
notifyToURL=mailto:test@example.com
description=
Command execution example (11):
In this example, the GetTasks command is executed to acquire detailed information about all
tasks in the MegaTechXP12000-Primary storage domain that were created within a 5-day
period before the command is executed and whose current status is Standby.
htsmcli GetTasks --detail storagedomainname="MegaTechXP12000-Primary"
status="Standby" datetype="Creation" daystobase="5" direction="After"
Execution results (11):
RESPONSE:
List of 1 Task elements:
An instance of Task(1 of 1)
ID=TK1k7m37qq
taskType=ExternalMapping
status=Standby
creationTime=2011/04/10 10:22:36
executionRequestTime=
startTime=
timeElapsed=
endTime=
ownerID=user
storageDomainName=MegaTechXP12000-Primary
CLI Reference Guide 161