Obtaining CPU Performance Information in the CLI (KBA1039)
Troubleshooting Delphix Engine CPU Information via the CLI
There are times when it is desirable to obtain analytics information about the Delphix Engine CPU, that is formatted differently than what is available in the Performance Analytics Graphs of the Delphix User Interface (UI).
You can obtain running information by looking in the GUI > Resources > Performance Analytics.
If CPU is selected, you will see the graph for CPU.
You can see the default analytics gathered when logged into the Delphix Engine command line interface (CLI) as Administrator:
|
Resolution
You can also obtain some information from the CLI, using the Performance Analytics Tool API Reference.
Option 1: Running an Existing Analytic
- Login as delphix_admin Administrator and run analytics.
|
- To see the available properties for CPU analytics,
select
and list thedefault.cpu
|
- Specify
setopt trace=true
in order to see theCpuUtilDatapointStream
datapoints
|
- Enter
getData
andcommit
to obtain the data gathered
|
Option 2: Creating a New Analytic
- Log in as delphix_admin and then run
analytics
- Run
create
andlist
the properties.
|
- Set the required Properties
name
,collectionAxes
and statisticType (if you are unsure you can run help <command> for options)
|
Commit
to being data collection
|
- Use
ls
to see the newtest.cpu
analytic
|
- Select
test.cpu
and usegetData
andcommit
to see the data gathered
|
- Use
delete
to stop the collection and deletetest.cpu
|