Page 39 of 39 |
Appendix C.1. Exposing Driver Statistics
In addition to the standard FieldServer operating statistics the driver exposes certain key statistics in a Data Array if required. A Server device can then monitor these stats.
Add the following to your configuration file to activate these statistics if the driver is configured as a Client.
// Expose Driver Operating Stats. |
|
|
Data_Arrays |
|
|
Data_Array_Name, | Data_Format, | Data_Array_Length |
UINT32, | 200 |
The following statistics are exposed. The table below provides the offset into the Data Array where you will find the statistic.
Offset | Stat |
1 | There are Server Data Arrays suitable for a walk. The driver sets this offset |
| is true. Read Error message #33 in Appendix C |
2 | Increments each time a lookup store tries to store at an index > DA length |
3 | Counts the number of bytes sent by FS in the form of |
4 | Counts the number of messages sent by FS in the form of |
5 | Counts the number of bytes sent by FS in the form of COV traps |
6 | Counts the number of messages sent by FS in the form of COV traps |
7 | Counts the number of bytes sent by FS in the form of polls |
8 | Counts the number of messages sent by FS in the form of reads |
9 | Counts the number of messages sent by FS in the form of writes |
10 | Counts the number of bytes received by the server. (Excludes Traps) |
11 | Counts the number of messages received by the server. (Excludes Traps) |
12 | Counts the number of tap message bytes received by the server. |
13 | Counts the number of trap messages received by the server. |
14 | Counts the number of server messages that were received and parsed without error |
15 | Counts the number of server messages that were received and parsed with error (excludes |
| multiples object requests) |
16 | Counts the number of server messages that were received and parsed and rejected |
| because they requested multiple objects |
17 | Counts the number of client side responses that were parsed without error |
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com Tel: (408) 262 2299 Fax: (408) 262 9042 Toll Free: (888) 509 1970 email: support@fieldserver.com