The method he's using might influence the statistics negatively a bit too much, as there's periodical data that needs to be flushed to disk, plus an useless fork going on every minute.
This popped up on HN last year, uses a much cleaner implementation:
This popped up on HN last year, uses a much cleaner implementation:
http://www.thregr.org/~wavexx/hacks/bcmon/