psm bdcsce activities
Lists the activities of an Oracle Big Data Cloud cluster.
Syntax
In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.
psm bdcsce activities -s|--service-name cluster-name
[-f|--from-start-date date]
[-t|--to-start-date date]
[-a|--status NEW|RUNNING|SUCCEED|FAILED|WARN]
[-o|--operation-type LIST]
[-l|--limit-row-count integer]
[-e|--offset number-of-activities]
[-d|--order-by fieldName]
[-of|--output-format short|json|html]
Parameters
Parameter | Description |
---|---|
|
Specifies the name of the Oracle Big Data Cloud 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:
|
|
Specifies the end of a range. Can be used with |
|
Specifies the types of activity required. Valid values are |
|
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 |
|
Filter criteria to sort the result set. Defined as |
|
(Optional) Specifies the output format of the command’s response:
The default output format is the one you specified when using the |
Examples
The following example requests the failed activities of the bdcsce-cluster
cluster, from 01 September 2016, to 31 December 2016:
$ psm bdcsce activities -s bdcsce-cluster -f 2016-09-01 -t 2016-12-31 -a FAILED
{
"activityLogs":[],
"totalCount":0
}