From owner-freebsd-hackers Sat Jun 24 00:12:22 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA19765 for hackers-outgoing; Sat, 24 Jun 1995 00:12:22 -0700 Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.10]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id AAA19759 for ; Sat, 24 Jun 1995 00:12:14 -0700 Received: from picton.cs.huji.ac.il by cs.huji.ac.il with SMTP id AA25194 (5.67b/HUJI 4.153 for ); Sat, 24 Jun 1995 10:05:35 +0300 Received: by picton.cs.huji.ac.il with SMTP id AA08234 (5.65c/HUJI 4.114); Sat, 24 Jun 1995 10:05:31 +0300 Message-Id: <199506240705.AA08234@picton.cs.huji.ac.il> To: freebsd-hackers@freebsd.org (FreeBSD Hackers Mailing List), bytecounters@isi.edu Subject: Re: Network Usage Stats In-Reply-To: Your message of Fri, 23 Jun 1995 22:01:57 -0700 (PDT) . <199506240501.WAA12272@gndrsh.aac.dev.com> From: Amos Shapira Date: Sat, 24 Jun 1995 10:05:30 +0300 Sender: hackers-owner@freebsd.org Precedence: bulk "Rodney W. Grimes" wrote: |> |> I am looking for a non-intrusive, hopefully low-CPU usage network |> usage monitor that can tell me something about how much the network(s) |> going in to a FreeBSD router is being used. |> |> Is there such a beast? | |Well, it is not quite what you want, but your FreeBSD router has it |built in. It is kernel pseudo-device bpfilter: | |# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be |# aware of the legal and administrative consequences of enabling this |# option. The number of devices determines the maximum number of |# simultaneous BPF clients programs runnable. |pseudo-device bpfilter 4 #Berkeley packet filter Haven't got around to try this, but I've just incorporated patches to NNStat to make it use the Berkeley Packet Filter (as well as LBL's(?) libpcap). The latest version is available at ftp://ftp.huji.ac.il/users/amoss/NNStat-3.3beta-24JUN95.tar.gz and hopefully from gatekeeper.dec.com soon Hope this helps, --Amos --Amos Shapira | "Of course Australia was marked for 133 Shlomo Ben-Yosef st. | glory, for its people had been chosen Jerusalem 93 805 | by the finest judges in England." ISRAEL amoss@cs.huji.ac.il | -- Anonymous