Date: Fri, 22 Sep 1995 13:56:25 +0100 (BST) From: Paul Richards <paul@alpha.netcraft.co.uk> To: jkh@time.cdrom.com (Jordan K. Hubbard) Cc: gary@palmer.demon.co.uk, nathan@netrail.net, questions@FreeBSD.org, current@FreeBSD.org Subject: Re: IP accounting Message-ID: <199509221256.NAA07347@alpha.netcraft.co.uk> In-Reply-To: <21681.811764710@time.cdrom.com> from "Jordan K. Hubbard" at Sep 22, 95 03:11:50 am
next in thread | previous in thread | raw e-mail | index | archive | help
In reply to Jordan K. Hubbard who said > > > As for kilobytes/interface, I dunno if that's possible without using > > some sort of packet sniffer. > > Couldn't you just use the output from `netstat -ib' in a slow loop to > essentially approximate that functionality? I don't know what kind of > granularity is required, but David was able to meter wcarchive's > bytes/sec traffic fairly well by doing that repeatedly. ipfw accounting gives the stats you need. If we ditch ipfw (and I tend to be in favour) then I really hope we can retain accurate ip traffic accounting because that's essential to the way we use it on our boxes. Netstat simply doesn't do the job since it measures traffic per interface and I have a number of virtual hosts and need traffic per ip address. -- Paul Richards, Netcraft Ltd. Internet: paul@netcraft.co.uk, http://www.netcraft.co.uk Phone: 0370 462071 (Mobile), +44 1225 447500 (work)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509221256.NAA07347>