This Perl script will display the current bandwidth usage on various platforms.
It's only dependencies are Perl and Time::HiRes (which comes bundled with Perl)
and currently supports Linux, FreeBSD, NetBSD and HP-UX.
The tool was written as an alternative to bwm-ng
as bwm-ng only work on Linux.