Date: Sat, 4 Nov 2000 14:25:53 -0500 From: Bill Fumerola <billf@chimesnet.com> To: noor@comrax.com Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Log total bandwidth used. Message-ID: <20001104142553.X37870@jade.chc-chimes.com> In-Reply-To: <Pine.BSF.4.10.10011041134550.92961-100000@dns.comrax.com>; from noor@comrax.com on Sat, Nov 04, 2000 at 11:36:09AM %2B0200 References: <Pine.BSF.4.10.10011041134550.92961-100000@dns.comrax.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 04, 2000 at 11:36:09AM +0200, noor@comrax.com wrote: > Using ipfw, is there a way to add a rule to compute all bandwidth used > during one day? The rule would just compute the bandwidth, then move on > to the next rule. "ipfw add count ip from any to any", that will give you bytes/packets. Add a cron job to email you the results (or archive the result) and zero the rule out nightly, and you have a daily counter. -- Bill Fumerola - Network Architect, BOFH / Chimes, Inc. billf@chimesnet.com / billf@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001104142553.X37870>