Packetspersec.sh
From Ye Ole Stash
#!/bin/bash for i in `ifconfig | awk '{print $1}' | grep eth | cut -d: -f1 | uniq`;do echo $i; cat /proc/net/dev | grep $i | cut -d : -f2 | awk '{print $2}'; cat /proc/net/dev | grep $i | cut -d : -f2 | awk '{print $10}'; done