-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2008-01-07 at 16:12 +0200, Mark Goldstein wrote:
Sure, I just gave one example where I thought "tail" was good enough and provided quick solution (not "quick and dirty"). I have to admit, I did not use "File::Tail" from pure ignorance and laziness :-). I'll definitely look into it next time I'll need to to something of this sort.
If you go the "tail -f" way, then you'd better use "tailf" instead. Its a different program that doesn't cause unnecesary disk activity. DESCRIPTION tailf will print out the last 10 lines of a file and then wait for the file to grow. It is similar to tail -f but does not access the file when it is not growing. This has the side effect of not updating the access time for the file, so a filesystem flush does not occur periodically when no log activity is happening. tailf is extremely useful for monitoring log files on a laptop when logging is infrequent and the user desires that the hard disk spin down to conserve battery life. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHgkZjtTMYHG2NR9URAsrvAJ0Sv2cUijoQVbb7p4mbij4W9MNL7ACgik+A s5uV9JrETNOBODlMGG2nTS4= =UJsx -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org