bad software

Mike Hommey mh at glandium.org
Mon May 14 11:47:56 PDT 2007


On Mon, May 14, 2007 at 06:27:46PM +0200, Folkert van Heusden <folkert at vanheusden.com> wrote:
> Hi,
> 
> While investigating why logfiles did not come in more "snappier" in
> multitail, I found out that 'tail -f' does a sleep of 1 second and then
> an stat on that file. So it wakes up every second. This can be replaced
> with code using inotify (or via FAM (written by SGI)) causing it to
> sleep longer. I once implemented this myself using dnotify but got fed
> up getting it to work (some difficult bugs) and to migrate it to
> inotify. So maybe someone else would like to look at it? Turbotail can
> be found here: http://www.vanheusden.com/turbotail/

inotail does what you want. http://distanz.ch/inotail/

Mike



More information about the Power mailing list