Date: Tue, 9 Oct 2001 19:05:55 -0400 From: Devin Smith <devin-freebsdquestions@rintrah.org> To: <freebsd-questions@FreeBSD.org> Subject: measure traffic passed on an interface Message-ID: <20011009230555.5680@mail.rintrah.org>
next in thread | raw e-mail | index | archive | help
Is there a simple way to measure traffic passed by an interface in FreeBSD? IPFM looks like it will do the trick from the ports collection, but it would be nice to have access to this info without installing extra software. For instance... If I run ifconfig -a on linux, the RX and TX received packets tell moe or less how much traffic has been passed on the interface. eth0 Link encap:Ethernet HWaddr 00:A0:4B:05:34:2B inet addr:10.0.0.3 Bcast:10.0.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:22317173 errors:0 dropped:0 overruns:0 frame:0 TX packets:8773031 errors:9 dropped:0 overruns:1 carrier:8 collisions:0 txqueuelen:100 Interrupt:10 Base address:0x6800 Thanks, --devin -- Devin Smith | Master of nothing in particular http://127.0.0.1 | devin-freebsdquestions@rintrah.org "How many people do *you* know whose mail server can handle 650MB email attachments?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011009230555.5680>