Multiple tail programme

Chip Rosenthal chip at chinacat.Unicom.COM
Fri May 3 07:09:16 AEST 1991


In article <1991Apr30.054042.14998 at cheops.qld.tne.oz.au>
	colemanm at cheops.qld.tne.oz.au (Mark Coleman) writes:
>Sorry if this is a FAQ but I'm looking for a version of 'tail' that allows me
>display the updates to files from multiple files.

Checkout the `xtail' program I posted to comp.sources.misc way back when:

    v07i108   xtail            a kind of "tail -f" for multiple files

As I mention in the distributed notes, my favorite use is:

    xtail /usr/spool/uucp/.Log/* /local/spool/smail/log

Note that those are actually directory names.  xtail will watch all
the files in them, and will notice when files are created or deleted
there.  I always keep an xtail running on one of my 386 XENIX console
screens to monitor the uucp system.  It tends to eat about 2% of the
available CPU, which isn't too bad.

By the way, there is one patch which fixes the dependancies in the
Makefile.  I can send it out, but it would probably be easier to just
edit the Makefile and remove the `/usr/include' dependancies.

-- 
Chip Rosenthal  512-482-8260  |
Unicom Systems Development    |    I saw Elvis in my wtmp file.
<chip at chinacat.Unicom.COM>    |



More information about the Comp.unix.admin mailing list