bounded_log.pl is a Perl 5 script that reads standard input and can
extract the end of the data, periodic snapshots of the data or all of
the data in multiple output files. It was originally written to handle
kernel debugging output over a serial console line but can be used for
any large logs.
ftp://ftp.ocs.com.au/pub/bounded_log.pl-0.3.tgz