psm dhcs activities

Lists the activities of an Oracle Data Hub Cloud Service cluster.


In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.

psm dhcs activities -s|--service-name cluster-name
	[-f|--from-start-date date]
	[-t|--to-start-date date]
	[-o|--operation-type LIST]
	[-l|--limit-row-count integer]
	[-e|--offset number-of-activities]
	[-d|--order-by fieldName]
	[-of|--output-format short|json|html]


Parameter Description

-s|--service-name cluster-name

Specifies the name of the Oracle Data Hub Cloud Service cluster.


Retrieve activities performed after this date. Specifies the start of a range. If no end date is defined, the current date is used. Supported formats are ISO date and time formats:

  • yyyy-MM-dd’T’HH:mm:ss

  • yyyy-MM-dd HH:mm:ss

  • yyy-MM-dd


Specifies the end of a range. Can be used with from-start-date.


Specifies the types of activity required. Valid values are NEW|RUNNING|SUCCEED|FAILED|WARN.


Specifies the types of operation required.


Specifies how many rows of results to return. The default is 10.


Defines the number of activities to display. If the offset is set to 3, and 5 activities are returned, only the last 3 activities are displayed. This can be combined with limit-row-count to further restrict the number of activities in the result set.


Filter criteria to sort the result set. Defined as fieldName: asc|desc.

-of|--output-format short|json|html

(Optional) Specifies the output format of the command’s response:

  • short— output is formatted as a brief summary.

  • json— output is formatted as a JSON array.

  • html— output is formatted as HTML

The default output format is the one you specified when using the psm setup command to configure the psm CLI.


The following example requests the failed activities of the cluster1 cluster, from 01 January 2017, to 30 September 2017:

$ psm dhcs activities -s cluster1 -f 2017-01-01 -t 2017-09-30 -a FAILED