"netstat -m" and sendfile(2) statistics in STABLE

Mike Silbersack silby at silby.com
Fri Jun 18 06:31:44 GMT 2004


On Thu, 17 Jun 2004, Alfred Perlstein wrote:

> I was going to suggest vmstat now that sfbufs are used for so many
> other things than just "sendfile bufs".
>
> --
> - Alfred Perlstein

How about if we do this:

5.x:  List sfbufs both in vmstat _and_ in netstat -m, as their status is 
relevant to both network and general memory usage.

4.x:  MFC the vmstat implementation.

This would preserve 4.x's behavior, but allow 5.x users (who have a new 
netstat -m output format anyway) to see sfbuf information without invocing 
multiple utilities.

Mike "Silby" Silbersack


More information about the freebsd-net mailing list