[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] doc: describe how kernel inotify support affects tail -f
From: |
Pádraig Brady |
Subject: |
Re: [PATCH] doc: describe how kernel inotify support affects tail -f |
Date: |
Tue, 24 May 2011 10:48:05 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 |
On 24/05/11 05:45, Jim Meyering wrote:
> Thanks for the feedback.
> How about this?
>
> -With kernel inotify support, output is asynchronous and generally very
> prompt.
> +With kernel inotify support, output is triggered by file changes
> +and generally very prompt.
> Otherwise, @command{tail} sleeps for one second between checks---
> use @option{--sleep-interval=@var{n}} to change that default---which can
> make the output appear slightly less responsive or bursty.
> +When using tail without inotify support, you can make it more responsive
> +by using a sub-second sleep interval, e.g., via an alias like this:
> +
> +@example
> +alias tail='tail -s.1'
> +@end example
Perfect thanks.