Last Updated: February 25, 2016
·
270
· jeffallen

Lines per second

A background goroutine and a for loop reading lines off of stdin makes a simple "lines per second" logfile meter: http://blog.nella.org/quick-go-hack-lines-per-second/