Ns driver
Jump to navigation
Jump to search
NAME
- ns_driver - Enumerate socket drivers, open waiting sockets and get some socket driver stats
SYNOPSIS
- ns_driver list
- ns_driver query driverInstance
DESCRIPTION
- This command provides a way to examine the current socket driver stats and open waiting sockets.
- ns_driver list
- Returns a list of socket driver instances in this process which are names of the form virtualservername/module (i.e. myserver/nssock, myserver/nssock2, anotherserver/nsopenssl, etc.)
- ns_driver query driverInstance
- Returns a map with two keys - stats and socks.
- The value of stats is itself a map like this:
time 1276409140:562735 spins 4078 accepts 192 queued 1251 reads 18034 dropped 0 overflow 0 timeout 0
- The value of socks is a list, where each element is a map but with an additional subelement (without a key) at the end, which is the 7-element list in ns_server all format.
id 55370218 sock 8432 state readwait idx 22 events 768 revents 768 accept 1276407692:663325 timeout 1276407992:663325 {55370221 124.217.238.150 i/o ? ? 1276407692.663325 0}
-