Updated at July 17, 2026 02:08 PM
box.stat.net()
Shows network activity: the number of bytes sent and received, the number of connections, streams, and requests (current, average, and total).
Returns
in the tables that box.stat.net() returns:
SENT.rpsandRECEIVED.rps– average number of bytes sent/received per second in the last 5 secondsSENT.totalandRECEIVED.total– total number of bytes sent/received since the server startedCONNECTIONS.current– number of open connectionsCONNECTIONS.rps– average number of connections opened per second in the last 5 secondsCONNECTIONS.total– total number of connections opened since the server startedREQUESTS.current– number of requests in progress, which can be limited by box.cfg.net_msg_maxREQUESTS.rps– average number of requests processed per second in the last 5 secondsREQUESTS.total– total number of requests processed since the server startedREQUESTS_IN_PROGRESS.current– number of requests being currently processed by the TX threadREQUESTS_IN_PROGRESS.rps– average number of requests processed by the TX thread per second in the last 5 secondsREQUESTS_IN_PROGRESS.total– total number of requests processed by the TX thread since the server startedSTREAMS.current– number of active streamsSTREAMS.rps– average number of streams opened per second in the last 5 secondsSTREAMS.total– total number of streams opened since the server startedREQUESTS_IN_STREAM_QUEUE.current– number of requests waiting in stream queuesREQUESTS_IN_STREAM_QUEUE.rps– average number of requests in stream queues per second in the last 5 secondsREQUESTS_IN_STREAM_QUEUE.total– total number of requests placed in stream queues since the server started
Example:
tarantool> box.stat.net() -- 5 tables---- CONNECTIONS:current: 1rps: 0total: 1REQUESTS:current: 0rps: 0total: 8REQUESTS_IN_PROGRESS:current: 0rps: 0total: 7SENT:total: 19579rps: 0REQUESTS_IN_STREAM_QUEUE:current: 0rps: 0total: 0STREAMS:current: 0rps: 0total: 0RECEIVED:total: 197rps...
net.thread()
Shows network activity per network thread: the number of bytes sent and received, the number of connections, streams, and requests (current, average, and total).
When called with an index (box.stat.net.thread[1]), shows network
statistics for a single network thread.
Returns
Same network activity metrics as box.stat.net() for each network thread
Example:
tarantool> box.stat.net.thread() -- iproto_threads = 2- - CONNECTIONS:current: 0rps: 0total: 0REQUESTS:current: 0rps: 0total: 0REQUESTS_IN_PROGRESS:current: 0rps: 0total: 0SENT:total: 0rps: 0REQUESTS_IN_STREAM_QUEUE:current: 0rps: 0total: 0STREAMS:current: 0rps: 0total: 0RECEIVED:total: 0rps: 0- CONNECTIONS:current: 1rps: 0total: 1REQUESTS:current: 0rps: 0total: 8REQUESTS_IN_PROGRESS:current: 0rps: 0total: 7SENT:total: 19579rps: 0REQUESTS_IN_STREAM_QUEUE:current: 0rps: 0total: 0STREAMS:current: 0rps: 0total: 0RECEIVED:total: 197rps: 0...
tarantool> box.stat.net.thread[1] -- first network thread- - CONNECTIONS:current: 1rps: 0total: 1REQUESTS:current: 0rps: 0total: 8REQUESTS_IN_PROGRESS:current: 0rps: 0total: 7SENT:total: 19579rps: 0REQUESTS_IN_STREAM_QUEUE:current: 0rps: 0total: 0STREAMS:current: 0rps: 0total: 0RECEIVED:total: 197rps: 0...