Subject: Re: accounting on mac-adress
To: None <current-users@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: current-users
Date: 09/06/2001 19:37:40
> > i want to do ethernettraffic accounting on the interfaces internal
> > mac-adress. so i can handel my c-class network by dhcp and do correct
> > accouting for any user.
What about using "netstat" to see an accounting of the incoming and
outgoing bytes. For example, "netstat -nvbI ne0":
Name Mtu Network Address Ibytes Obytes
ne0 1500 <Link> 00:40:05:4b:34:2c 157954483 40302030
(This reminds me; I wrote a script that recorded this accounting info
several months ago; now to write another script to graph all the info
that continues to be recorded :)
Jeremy C. Reed
http://www.reedmedia.net/