netmeter is used to collect network performance data. The data is available only if CONFIG_SOCKET_EX option is enabled when compiling the kernel. Refer to here for how to compile the kernel.
Usage:
nm port port
port is a listening port number
The format of the netmeter outputs is:
port <port> bout <bout> bin <bin> conn <conn> total delay <delay> qlen <queue length>
<bout> is the number of bytes sent out
by all the connections accepted at port <port>
<bin> is the number of bytes received by all the connections accepted at port
<port>
<conn> is the number of connections accepted so far at port <port>
<delay> is the total connection delay by all the connections accepted so far at
port <port>, the time unit is 1/100 seconds
<queue length> is the the number of connection waiting to be accepted