From owner-freebsd-questions@FreeBSD.ORG Wed Jan 11 14:57:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D83E2106564A for ; Wed, 11 Jan 2012 14:57:12 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 623508FC0A for ; Wed, 11 Jan 2012 14:57:12 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q0BEv8JD066666 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 11 Jan 2012 14:57:09 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk q0BEv8JD066666 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1326293829; bh=RrCmu6NJw+rDyI8NWM8gVjSlt2lL6q0Z63K10lzitYE=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=ZXxvgg17ORxzN8cR2ZWhVxwtxb6gtqeRKoa1NgqdpPhAiBEajDOPEADwJuMXzJn7m ezvxtEqcsdf6G1NS4xOI1b434bNlvHNi4TTLiodbcOJlw5Ap5jTGMYvivu66KJu8ca 7iOF571oV4wPIsaBrC+MlyfMf4vkrMGG2xmE9d0A= Message-ID: <4F0DA344.9030504@infracaninophile.co.uk> Date: Wed, 11 Jan 2012 14:57:08 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20120111112400.Horde.g4QFfgcXel9PDXFQSwJwfrA@webmail.geofront.co.uk> <4F0D7B87.9060808@zzz.ee> In-Reply-To: <4F0D7B87.9060808@zzz.ee> X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6AE8561C82CE6589D94E7D30" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: Network throughput X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2012 14:57:13 -0000 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--