![]() |
![]() ![]() ![]() ![]() |
ns_server ?-server servername? connections
ns_server ?-server servername? threads
ns_server ?-server servername? verbose ?on/off?
ns_server ?-server servername? waiting
id | peer | state | method | url | time |
---|---|---|---|---|---|
3 | 128.111.100.50 | traces | GET | /some/page.htm | 5 |
ns_server all returns the same information as ns_server active for both active and waiting connections for the specified virtual server, or the current virtual server if none is specified.
ns_server connections returns the total number of connections for the specified virtual server, or the current virtual server if none is specified.
ns_server threads returns a Tcl list containing the minimum number of threads, the maximum number of threads, the number of currently active threads, the number of idle threads, and the number of stopping threads for the specified virtual server, or the current virtual server if none is specified. For example:
{min 0} {max 50} {current 2} {idle 1} {stopping 0}
ns_server verbose returns 1 if the server is in verbose mode and 0 if it is not for the specified virtual server, or the current virtual server if none is specified. If "on" is specified, sets verbose mode on. If "off" is specified, sets verbose mode off.
ns_server waiting returns the number of waiting connections for the specified virtual server, or the current virtual server if none is specified.