
Local = just reads from /sys/class/net/$dev/statistics every second, and prints out the current numbers and the average rate of change: $. My $dir = "/sys/class/net/$dev/statistics"

I wrote this dumb script a long time ago, it depends on nothing but Perl and Linux≥2.6: #!/usr/bin/perl

No need for priv, dorky binaries, hacky scripts, libpcap, etc.

Got sar? Likely yes if youre using RHEL/CentOS.
