From owner-freebsd-questions@FreeBSD.ORG Thu Jan 12 13:30:43 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 1E522106566C for ; Thu, 12 Jan 2012 13:30:43 +0000 (UTC) (envelope-from mike@geofront.co.uk) Received: from geofront.co.uk (geofront.co.uk [109.104.93.23]) by mx1.freebsd.org (Postfix) with ESMTP id D54AA8FC12 for ; Thu, 12 Jan 2012 13:30:42 +0000 (UTC) Received: by geofront.co.uk (Postfix, from userid 33) id 2F3FE346B807F; Thu, 12 Jan 2012 13:30:41 +0000 (GMT) Received: from pc1.idsadsl.ftech.co.uk (pc1.idsadsl.ftech.co.uk [212.32.48.98]) by webmail.geofront.co.uk (Horde Framework) with HTTP; Thu, 12 Jan 2012 13:30:41 +0000 Date: Thu, 12 Jan 2012 13:30:41 +0000 Message-ID: <20120112133041.Horde.pYQUPgcXel9PDuCBIwpF_lA@webmail.geofront.co.uk> From: Mike Woods To: freebsd-questions@freebsd.org References: <1CF3CC314CC046BA97A680449E25CF28@XXXXXXXPC> <20120112055452.GG91606@dan.emsphone.com> In-Reply-To: <20120112055452.GG91606@dan.emsphone.com> User-Agent: Internet Messaging Program (IMP) H4 (5.0.14) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Subject: Re: little things 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: Thu, 12 Jan 2012 13:30:43 -0000 Quoting Dan Nelson : > As far as network traffic info, ifconfig is used for configuring interfaces, > not monitoring them. The "netstat -ib" command will give you total bytes > sent/received per interface, but the best solution is probably to poll them > with snmp. Having just been looking into this on this very list I can confirm that snmp is the way to go, netstat uses 32bit counters and as a result the counter resets far to often to be of any real use (given that i'm calculating throughput so amount/time), net-snmp can be configured to use 64bit counters and is thus far proving *far* more useful! ------------------------ Mike Woods Full of squishy cynicism