2/20 I'm doing tail -f file. The file gets automatically rotated by
another process every so often. My tail then looks at a file that
no longer updates while the new logfile continues getting data I'm
not seeing. Is there a way to easily detect when my file has rotated
or even better some program/script that can detect the change and
switch to the new file? This is a qmail logfile if that matters.
Thanks!
\_ I believe xtail does that.
\_ I'll check it out. Thanks. Hopefully it has a text-only mode?
\_ Don't let the name fool you. If you run FreeBSD, you can
find it in /usr/ports/misc/xtail. Otherwise:
http://www.giovannelli.it/~gmarco/files/xtail-2.1.tar.gz
\_ I love the motd! Thanks! -OP
\_ kqueue(2) |