CLI Magic: Print log lines per minute stats in real time.

tail -f maillog | awk '{c++;t=substr($0,0,12);if (t!=ot){print c " " ot; c=0;ot=t}}'

Via: Twitter