Get server statistics since startup
ns_totalstats ?-server servername? requests | HWM-queued | HWM-threads | busyconns | mintime | maxtime | avgtime | bytes
ns_totalstats eturns statistics information gathered since server startup. If servername isn't specified, the current virtual server is used.
Any of the following statistics can be returned:
The statistics that return a time are generally only useful for virtual servers that serve large and somewhat uniformly-sized items. Because simple pages serve so quickly, the minimum time usually hovers around zero.
Note that these statistics are not guaranteed to be 100% accurate - they are designed to give a general idea of server performance, and the gathering of the statistics favors minimal impact on performanace over perfect accuracy. Because of this, we recommend that you not use them to generate billing information.