in reply to Re^2: Perl Tail ?
in thread Perl Tail ?

I recall many years ago that unix tail is broken on large files, such that I wrote my own Perl tail for one job. You might want to look at tail for Perl Power Tools.

I would like to tail it for 10 minutes, restart the tail process for another 10 mintues, copying off tailfile to tailfile.chunk before writing to tailfile again
Please be more specific. Are you intending to skip (lose) 10 minutes of logfile? Do you just want to split the logfile into chunks at 10 minute intervals?

What is the fundamental problem you're trying to solve?

-QM
--
Quantum Mechanics: The dreams stuff is made of

Replies are listed 'Best First'.
Re^4: Perl Tail ?
by perlAffen (Sexton) on Oct 05, 2005 at 03:10 UTC
    I would just like the code above to NOT read from the beginning, that is all I really need. Thanks
Re^4: Perl Tail ?
by Anonymous Monk on Oct 04, 2005 at 20:28 UTC
    upon reflection I would like to make my posted code NOT read from the begining. that is all really. thanks

    2005-10-05 jdporter Edited title of this node and the others in the same subthread: somehow, the 'Perl Tail ?' part got lost