Popular Python recipes tagged "inode"http://code.activestate.com/recipes/langs/python/tags/inode/2010-09-21T07:37:38-07:00ActiveState Code Recipes"tail -f" with inode monitor (Python)
2010-09-21T07:37:38-07:00Denis Barmenkovhttp://code.activestate.com/recipes/users/57155/http://code.activestate.com/recipes/577398-tail-f-with-inode-monitor/
<p style="color: grey">
Python
recipe 577398
by <a href="/recipes/users/57155/">Denis Barmenkov</a>
(<a href="/recipes/tags/inode/">inode</a>, <a href="/recipes/tags/monitor/">monitor</a>, <a href="/recipes/tags/tail/">tail</a>).
Revision 3.
</p>
<p>Sometimes tail -f launched for log file miss the point when program recreates log file.
Script in this recipe monitors inode changes for specified file and restarts tail if needed.</p>