bad software

Folkert van Heusden folkert at vanheusden.com
Mon May 14 09:27:46 PDT 2007


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/


Folkert van Heusden

-- 
MultiTail is a versatile tool for watching logfiles and output of
commands. Filtering, coloring, merging, diff-view, etc.
http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com



More information about the Power mailing list