traffic total in / out

Nathan Kinkade nkinkade at dsl-only.net
Thu Apr 10 08:45:49 PDT 2003


On Thu, Apr 10, 2003 at 11:20:57AM -0400, Chris Collins wrote:
> Hello
> 
> I am hoping that somebody on this list can help me out.
> 
> I am looking for a way to determine how much traffic is going in/out of my
> machine. I have setup mrtg and it gives a nice graph but no totals of how
> much traffic passed.
> 
> Does anybody have a working solution for this or tell me where to start.
> 
> Thanks
> Chris

It sounds like netstat(1) may give you the info you seek.  Take a look
at the manpage, specifically, the `netstat -i` and `netstat -s` forms.

Nathan

-- 
GPG Public Key ID: 0x4250A04C
gpg --keyserver pgp.mit.edu --recv-keys 4250A04C
http://63.105.21.156/gpg_nkinkade_4250A04C.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030410/d646a7de/attachment.bin


More information about the freebsd-questions mailing list