Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jul 2005 22:02:55 +0400 (MSD)
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        "Christian S.J. Peron" <csjp@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/net bpf.c bpfdesc.h
Message-ID:  <20050724220036.B12943@mp2.macomnet.net>
In-Reply-To: <20050724172508.GA15547@freefall.freebsd.org>
References:  <200507241721.j6OHLImZ032073@repoman.freebsd.org> <20050724172508.GA15547@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
[...]
> I have a userspace program to display these stats:
>
> http://people.freebsd.org/~csjp/bpfstat.1122182321.shar
>
> An example of the output is:
>
> $ bpfstat
>   pid   netif  flags   recv drop  match sblen hblen command
> 10750     rl0  p--s-    260    0    260  2426     0 tcpdump
> $
>
> I plan to move this into base, but I would like some people
> to test/review it first.

Is it feasible/wise to fit this functionality to netstat(1)?
Smth. like netstat -sp bpf similar to netstat -sp bdg.

-- 
Maxim Konovalov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050724220036.B12943>