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

Igor Sysoev is at rambler-co.ru
Fri Jun 18 06:43:25 GMT 2004


On Fri, 18 Jun 2004, Mike Silbersack wrote:

> 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.

In 4.x sfbufs are network buffers only and I think it's handy to see
the network buffer statistics in one place. I prefer to see netstat -ms
or netstat -m.

And nothing against additional the vmstat implementation.


Igor Sysoev
http://sysoev.ru/en/


More information about the freebsd-net mailing list