From owner-cvs-src@FreeBSD.ORG Sun Jul 24 18:02:58 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3CA316A41F; Sun, 24 Jul 2005 18:02:57 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E92443D46; Sun, 24 Jul 2005 18:02:56 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost [127.0.0.1]) by mp2.macomnet.net (8.13.3/8.13.3) with ESMTP id j6OI2ti6012995; Sun, 24 Jul 2005 22:02:55 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Sun, 24 Jul 2005 22:02:55 +0400 (MSD) From: Maxim Konovalov To: "Christian S.J. Peron" In-Reply-To: <20050724172508.GA15547@freefall.freebsd.org> Message-ID: <20050724220036.B12943@mp2.macomnet.net> References: <200507241721.j6OHLImZ032073@repoman.freebsd.org> <20050724172508.GA15547@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net bpf.c bpfdesc.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jul 2005 18:02:58 -0000 [...] > 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