From owner-freebsd-questions Thu Sep 16 16:37:16 1999 Delivered-To: freebsd-questions@freebsd.org Received: from agora.neteze.com (agora.neteze.com [208.201.249.4]) by hub.freebsd.org (Postfix) with ESMTP id 3A13D14FBC for ; Thu, 16 Sep 1999 16:37:11 -0700 (PDT) (envelope-from kc@neteze.com) Received: from admin1 ([208.201.249.51]) by agora.neteze.com (Post.Office MTA v3.5.3 release 223 ID# 0-60395U6000L600S0V35) with SMTP id com; Thu, 16 Sep 1999 16:41:04 -0700 Message-ID: <115401bf009c$cb653910$33f9c9d0@neteze.com> From: "Kelsey Cummings" To: "Graeme Tait" , "Ryan Thompson" Cc: References: <37E1A75E.1513@echidna.com> Subject: Re: Daily/weekly/monthly network through-traffic monitoring by the GB? Date: Thu, 16 Sep 1999 16:40:01 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-Mimeole: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG MRTG has the ability to get data from an external function (like netstat) so you can use it without snmp. I think it would work well in this situation. ----------------------------------------------------------------- Kelsey Cummings System Administrator NetEase, Inc. kc@neteze.com ----------------------------------------------------------------- ----- Original Message ----- From: Graeme Tait To: Ryan Thompson Cc: Sent: Thursday, September 16, 1999 7:28 PM Subject: Re: Daily/weekly/monthly network through-traffic monitoring by the GB? > Ryan Thompson wrote: > > > > Hi everybody; > > > > Does anyone know of a really good (and lightweight) network throughput > > monitor? I am interested in knowing (in quantifiable units such as > > gigabytes) how much traffic is both coming IN to a specified interface and > > how much is going OUT over an interval of time, so that I can track > > network usage. > > > Well, I'm sure there's a better way, but I just use something like > > netstat -I fxp0 -w 300 > file_199909161855_start & > > varying the interval as desired - which is fine if you are satisfied with > data on the aggregate in and out traffic for a particular interface. > > I name the file according to the start time, so it's easy to figure the actual > time of any given entry. (The timing does tend to slip a few seconds a day on > my server with -w 300, more with shorter intervals.) Resource usage seems > minimal, even running with a 1 second logging interval. > > With a little manipulation with Unix utilities, or with a spreadsheet, I can > generate some pretty useful statistics and graphs. > > > > -- > Graeme Tait - Echidna > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message