Date: Thu, 16 Sep 1999 16:40:01 -0700 From: "Kelsey Cummings" <kc@neteze.com> To: "Graeme Tait" <graeme@echidna.com>, "Ryan Thompson" <freebsd@sasknow.com> Cc: <freebsd-questions@freebsd.org> Subject: Re: Daily/weekly/monthly network through-traffic monitoring by the GB? Message-ID: <115401bf009c$cb653910$33f9c9d0@neteze.com> References: <Pine.BSF.4.10.9909141521530.26833-100000@sasknow.com> <37E1A75E.1513@echidna.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <graeme@echidna.com> To: Ryan Thompson <freebsd@sasknow.com> Cc: <freebsd-questions@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?115401bf009c$cb653910$33f9c9d0>