TailRun

TailRun is a small unix tool to make it easier to run a program with a lot of output.

Instead of a command writing directly to the terminal, tailrun will pipe the output to a logfile, then concurrently tail the logfile via less +F.

For commands with a lot of output, this runs much faster because the terminal just has to draw the latest view every half second, instead of continuously writing new output that a human can't follow anyway.

An added benefit is to "tee" the output to a log file for later analysis.

Usage

Command-line syntax:

Syntax: tailrun [OPTIONS] [--] command...

Options:
  --logfile=LOGFILE         Send to LOGFILE; default is .tailrun.log.
  --old-logfile=ACTION      Action to do if LOGFILE exists.
                            Allowed values (default=tdel_unlink):
                              unlink      - unlink
                              tdel        - use tdel
                              tdel_unlink - use tdel if available, else unlink
                              append      - append

Download

Dependencies

Development

Author

Copyright (C) 2006 Karl Chen <quarl@quarl.org>.

License: GPL v2+

TailRun is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

TailRun is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.