advice for tailing a file

Scott Wiersdorf scott at ipartner.net
Mon Dec 14 23:21:56 CET 2015


On Tue, Dec 15, 2015 at 08:26:50AM +1100, Daniel Carosone wrote:
> What platform? Linux::Inotify2 and related modules might be a useful
> option, especially if the log file is not heavily active.

Define "heavily active". On a lighter file I'm expecting at least 60
lines (16k bytes) per second. I might expect an order of magnitude
more than that on a heavier file.

This module seems promising... but I was hoping for some kind of
platform independent way to do this (it will eventually be deployed on
Linux probably most of the time, but with a possibility of BSD, and my
development is done on a Mac).

Thank you for the response; I'll look at this approach more closely.

Scott
-- 
Scott Wiersdorf
scott at ipartner.net



More information about the anyevent mailing list