ttyrpld [rusty colors]

 
Name > ttyreplay - realtime log file player
 
Synopsis >

ttyreplay [-F|-f] [-S factor] [-T] [-?|--help]

 
Description >

ttyreplay is the tool to see -- to replay -- what has been captured by (the Kernel module and) rpld. Give it any number of files you want to see again. Options apply to all files.

 
Options >
-F Live feed follow mode. Seek to the end of the file and tail-follow any new contents that are written to it. This does the same as `tail -f` does with normal text logfiles.
-S factor Plays the file back with a time warp of factor. 1.0 is normal time, 2.0 is twice as fast, 0.5 half speed, etc.
-T Shows (replays) the log without any delays. This can be used to generate a screen log like script or screen (rpl logfile without any packet headers, basically) for easy grepping.
-f Catch-up follow mode. Plays the file back from the start as usual and switches into -F mode when EOF is reached.
 
Example files >

There is an example file I provided, you can watch it with bzip2 -cd Commenting_ovcorr.bz2 | ttyreplay /dev/stdin. It shows 1:1 (and in full color!) how I commented the nsleep_ovcorr() function. It is advisable to run it with speed factor 3.0 (-S option), because in real-time, it takes approximately 35 minutes.

 
See also > rpl(4), rpld(8)