Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jul 2004 11:06:41 +0930
From:      Tim Aslat <tim@spyderweb.com.au>
To:        freebsd-questions@freebsd.org
Subject:   Re: IP bandwidth
Message-ID:  <20040702110641.12f5fa24@bofh.spyderweb.com.au>
In-Reply-To: <0a8d01c45fd1$7b0ade90$fa10fea9@astral>
References:  <0a8d01c45fd1$7b0ade90$fa10fea9@astral>

next in thread | previous in thread | raw e-mail | index | archive | help
In the immortal words of "John Lee" <john@allservers.net>...
> i'm using a freebsd 4.10-stable server with 50 IP addresses.
> Is there any program i can install that will be able to tell me:
> 
> - how much bandwidth (ie. kbps) each individual IP is using?
> 
> trafcount seems to count total traffic only, any idea?

Try using the log functions of the ipfw system

ipfw add log ip from any to <ip address> 

an entry for each address would log all traffic to/from that address

Cheers

Tim


-- 
Tim Aslat <tim@spyderweb.com.au>
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479



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