Accounting for mbufs and clusters assigned to a socket buffer

gnn at freebsd.org gnn at freebsd.org
Fri Apr 25 10:15:13 UTC 2008


Howdy,

The following patch updates the kernel (CURRENT as of 23 April or so)
and netstat(1) to show not only the bytes in the receive and send
queues but also the mbuf and cluster usage per socket buffer.  I'd be
interested in people's comments on this.  I'd like to extend such
counting to show more information, in particular how much of a cluster
or mbuf is actually in use.

Best,
George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mbuf_count.diff
Type: application/octet-stream
Size: 3815 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20080425/92407dff/mbuf_count.obj


More information about the freebsd-arch mailing list