Subject: Re: tail follow multiple files?
To: Simon Burge <firstname.lastname@example.org>
From: David Laight <email@example.com>
Date: 07/02/2005 15:24:37
On Sat, Jul 02, 2005 at 10:20:45PM +1000, Simon Burge wrote:
> "Jeremy C. Reed" wrote:
> > Any interest in having tail follow multiple files?
> pkgsrc/misc/xtail works well. For example, it notices when a file
> is removed and reopened, which works well for log files.
'tail -F' will also notice a file being unlinked and recreated.
You don't want this to be the default behaviour as it is expensive.
Since tail only processes a single file at a time, tail -f on multple
files just doesn't make sense.
If you want the merged output from many files just run multiple copies
of tail -f in the background....
David Laight: firstname.lastname@example.org