[tpm] Question of the day

Fulko Hew fulko.hew at gmail.com
Wed Mar 17 11:40:11 PDT 2010


On Wed, Mar 17, 2010 at 2:11 PM, Digimer <linux at alteeve.com> wrote:

> 'Alo all,
>
> I need to "tail -f" a file, and I've accomplished that using this:
>

... snip ...

Although I can't really help on the issue your asking,
I can (possibly) throw in another monkey-wrench...

Another thing to consider is: 'what happens when the logfile
you're watching is rotated out from underneath you?'

You sort of need to check that the inode hasn't changed
and reopen, etc. it it has.

Fulko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20100317/a47179db/attachment.html>


More information about the toronto-pm mailing list