Runtime Statistics; Accessing Runtime Statistics From The Cli - Safran WR-ZEN Series User Manual

Hide thumbs Also See for WR-ZEN Series:
Table of Contents

Advertisement

Please refer to the API definition for further information about the usage of these
endpoints.
7.6.2

Runtime Statistics

Runtime statistics are internally handled can be retrieved using the CLI, SNMP,
and the REST-API, the following sections describe how to access them.
7.6.2.1

Accessing Runtime Statistics from the CLI

To access runtime statistics from the command line interface (CLI), you can use
the gpa_ctrl tool. The tool allows you to read and reset statistics.
Here are some examples of reading statistics by specifying the -M modifier:
You can reset metrics by specifying the -Mr modifier. Here are some examples:
CHAPTER
7
WR-ZEN Series User Manual Rev. v5.1
To show every metric for a given parameter:
# gpa_ctrl ppsi net/wr0/1/servo/delay_MM -M
id:0:min: 0.000000007383
id:1:max: 0.000000291743
id:2:mean: 0.000000097378
To request only the statistis with ID 2:
# gpa_ctrl ppsi net/wr0/1/servo/delay_MM -M2
id:2:mean: 0.000000123229
To reset every statistic for a given parameter:
# gpa_ctrl ppsi net/wr0/1/servo/delay_MM -Mr
Result:
# gpa_ctrl ppsi net/wr0/1/servo/delay_MM -M
id:0:min: 0.000000000000
id:1:max: 0.000000000000
id:2:mean: 0.000000000000
To reset only the statistic with ID 2:
# gpa_ctrl ppsi net/wr0/1/servo/delay_MM -Mr2
Result:
# gpa_ctrl ppsi net/wr0/1/servo/delay_MM -M2
id:2:mean: 0.000000000000
7.6  Service Persistent Raw Data and Runtime Statistics
161

Advertisement

Table of Contents
loading

Table of Contents