Sends Open Data Services statistics to the client in table format.
int srv_sendstatistics ( SRV_PROC * srvproc );
where
SUCCEED or FAIL.
The srv_sendstatistics function returns statistics about the Open Data Services server application's workload. The statistics are returned in table format with the first column listing the statistic name and the second column showing its value. The following table describes the statistics returned:
Statistic name | Return value |
---|---|
max worker threads | The highest number of worker threads servicing the command queue since the Open Data Services server application was started or since the last time an srv_clearstatistics call was issued. |
network reads | The total number of reads from the network device. |
network writes | The total number of writes from the network device. |
worker threads | The current number of worker threads servicing the command queue. |
This entry | For information about |
---|---|
srv_clearstatistics | Resetting the statistical counters |