Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2012 14:57:08 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: Network throughput
Message-ID:  <4F0DA344.9030504@infracaninophile.co.uk>
In-Reply-To: <4F0D7B87.9060808@zzz.ee>
References:  <20120111112400.Horde.g4QFfgcXel9PDXFQSwJwfrA@webmail.geofront.co.uk> <4F0D7B87.9060808@zzz.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig6AE8561C82CE6589D94E7D30
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 11/01/2012 12:07, Ott K=F6stner wrote:
> On 11.01.2012 13:24, Mike Woods wrote:
>> >
>> > I'm trying to gather network throughput information on a box of ours=

>> > and I'm having a little problem, the throughput is to be measured on=
 a
>> > per-minute basis and i've been trying to use netstat for this (count=

>> > now - count before/timeperiod) however netstats byte counter resets
>> > far too quickly to be usefull (this is a busy gb link), i've had a
>> > look at vnstat but this only seems to operation on an hour or higher=

>> > and I need to get down to the minute, does anyone have any suggestio=
ns
>> > of a tool better suited to this ?

> I have been using net-snmp daemon in combination with mrtg. Displays
> nice traffic graphs.

Yes -- mrtg is nice, but it relies on the snmp interface counters, and
in this case with Gb traffic levels a 32bit counter will wrap in a few
minutes.  mrtg samples the interface counter every 5 minutes IIRC, so
would probably be confused by that wrap-around happening at around the
same frequency.

Unless you switch to using 64bit interface counters, but I don't know if
mrtg can cope with integer types that wide...

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW


--------------enig6AE8561C82CE6589D94E7D30
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8No0QACgkQ8Mjk52CukIxhiACfUWWBtUZClP2fUQFj7thDsy55
xgoAoIucF9qSWkhXWk3cfn2AU63xD7xG
=slKs
-----END PGP SIGNATURE-----

--------------enig6AE8561C82CE6589D94E7D30--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F0DA344.9030504>