Simple Network Traffic script

Dan Nelson dnelson at allantgroup.com
Fri Nov 12 22:50:00 GMT 2004


In the last episode (Nov 12), Tim Traver said:
> ok, this may be a dumb question, but does anyone know where I can
> find a simple script that shows the network traffic to and from your
> local box ?
> 
> using netstat -i 5,  can see the traffic over 5 seconds, but then I
> need to do a bunch of calculations to try and get a reasonable
> number.

If you're not looking for traffic counts over 5-second periods, what
exactly are you looking for?  trafshow is nice for quickly determining
who is eating your bandwidth, if that's your intent.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list