Bandwidth monitoring with tcpdump

If you would like to monitor the bandwidth of a flow in your Linux router (or any flow you see on your LAN), you can use tcpdump and pipe its output to this perl script that will calculate the bandwidth from the timestamps, protocol types and packet sizes.

Last update: 13. June 2012
Back to Michael's page