traffic total in / out
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:
> 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.
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.
GPG Public Key ID: 0x4250A04C
gpg --keyserver pgp.mit.edu --recv-keys 4250A04C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
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