On This Page
The CLI references “skysync.” This is expected. |
In the following examples, the authentication parameters are provided within the configuration file. See the authentication section for more information.
parameter | description | required | default |
---|---|---|---|
metric, m | Metric name | optional | |
type, t | Metric type | optional | |
search, q | Search text | optional |
In the following example, the authentication parameters are provided within the configuration file. See the authentication section for more information.
Command
skysync-cli diagnostics metrics |
Example results
Metric Value Type app.cpu.usage 0.012199251937412236 gauge app.disk.reads_per_sec 0.001687845136870207 gauge app.disk.writes_per_sec 0.0020560817640639635 gauge app.memory.usage 260.875 gauge app.uptime 102586.1691205 gauge app.version.build 0.0.0 gauge ... |
Command (JSON)
skysync-cli diagnostics metrics --json |
Example results (JSON)
{ "name": "app.cpu.usage", "value": 0, "type": "gauge" }, { "name": "app.disk.reads_per_sec", "value": 0.0017287718488986894, "type": "gauge" }, { "name": "app.disk.writes_per_sec", "value": 0.0017188391484965662, "type": "gauge" } |
Note that json output format via the cli is formatted differently than the native endpoint format.
Native metrics endpoint results
"app.cpu.usage":{ "value":0.023432151072578209, "type":"gauge" }, "app.disk.reads_per_sec":{ "value":0.0017184697141526821, "type":"gauge" }, "app.disk.writes_per_sec":{ "value":0.0017184666282899282, "type":"gauge" } |
In the following example, the authentication parameters are provided within the configuration file. See the authentication section for more information.
Command
skysync-cli diagnostics metrics -m "app.memory.usage" |
Example results
Metric Value Type app.memory.usage 260.875 gauge |
In the following example, the authentication parameters are provided within the configuration file. See the authentication section for more information.
Command
skysync-cli diagnostics metrics -t "gauge" |
Example results
Metric Value Type app.cpu.usage 0.012199251937412236 gauge app.disk.reads_per_sec 0.001687845136870207 gauge app.disk.writes_per_sec 0.0020560817640639635 gauge app.memory.usage 260.875 gauge app.uptime 102586.1691205 gauge app.version.build 0.0.0 gauge ... |
In the following example, the authentication parameters are provided within the configuration file. See the authentication section for more information.
Command
skysync-cli diagnostics metrics -q "cpu" |
Example results
Metric Value Type app.cpu.usage 0.14757013285911424 gauge system.cpu.arch x64 gauge system.cpu.count 4 gauge system.cpu.usage 3.341562977280177 gauge |
FiddlerCore, by default, is not enabled in DryvIQ. DryvIQ must be configured to enable FiddlerCore. Click here for more information on how to configure DryvIQ to enable FiddlerCore. |
In the following examples, the authentication parameters are provided within the configuration file. See the authentication section for more information.
In the following example, the authentication parameters are provided within the configuration file. See the authentication section for more information.
Command
skysync-cli diagnostics fiddler status |
Example results
Status Disabled Port - |
Example results
Status Enabled Port 7777 |
Command (JSON)
skysync-cli diagnostics fiddler status --json |
Example results (JSON)
[ { "status": false } ] |
In the following example, the authentication parameters are provided within the configuration file. See theauthenticationsection for more information.
Command
skysync-cli diagnostics fiddler enable |
Example results
Status Enabled Port 7777 |
command (JSON)
skysync-cli diagnostics fiddler enable --json |
Example results (JSON)
[ { "status": true, "port": 7777 } ] |
In the following example, the authentication parameters are provided within the configuration file. See theauthenticationsection for more information.
Command
skysync-cli diagnostics fiddler disable |
Example results
Status Disabled Port - |
Command (JSON)
skysync-cli diagnostics fiddler disable--json |
Example results (JSON)
[ { "status": false } ] |
parameter | description | required | default |
---|---|---|---|
targetDirectory | Relative or absolute path to save the downloaded installation package | optional | (current directory) |
In the following example, the authentication parameters are provided within the configuration file. See the authentication section for more information.
Command
skysync-cli diagnostics fiddler download |
Example results
File saved to c:\skysync-cli\2019-09-09T14-02-23Z.zip |
In the following example, the authentication parameters are provided within the configuration file. See the authentication section for more information.
Command
skysync-cli diagnostics fiddler download --targetDirectory={{targetDirectory}} |
Command with example values
skysync-cli diagnostics fiddler download --targetDirectory=c:\fiddlerTraces |
Example results
File saved to c:\fiddlerTraces\2019-09-09T14-02-23Z.zip |
In the following example, the authentication parameters are provided within the configuration file. See the authentication section for more information.
Command
skysync-cli diagnostics fiddler purge |
Example results
Fiddler traces were removed from node. |
In the following example, the authentication parameters are provided within the configuration file. See the authentication section for more information.
Command
skysync-cli diagnostics fiddler uninstall-certs |
Example results
Fiddler is not available on this node. |
In the following example, the authentication parameters are provided within the configuration file. See the authentication section for more information.
Command
skysync-cli diagnostics fiddler install-certs |
Example results
Status Disabled Port - |
Example results
Status Enabled Port 7777 |