diff options
author | Jim Meyering <meyering@redhat.com> | 2011-04-23 16:08:08 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-04-25 10:55:27 +0200 |
commit | 249d9a3ca429e508958e87c636c1b6a4a8d75f12 (patch) | |
tree | f40ec1a52f1516e1b1491fdfa74c757e4025cc6a /doc | |
parent | 302cfcaeab531138d59e4835ef77020a750e71f9 (diff) | |
download | coreutils-249d9a3ca429e508958e87c636c1b6a4a8d75f12.tar.xz |
doc: tail/inotify does use --sleep-interval=S, with --pid=P
* doc/coreutils.texi (tail invocation): Mention it.
* src/tail.c (usage): Likewise.
(tail_forever_inotify): Clarify comment.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/coreutils.texi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index b7ccf3849..d2377f41b 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -2852,7 +2852,10 @@ changed size. Historical implementations of @command{tail} have required that @var{number} be an integer. However, GNU @command{tail} accepts an arbitrary floating point number. @xref{Floating point}. -When @command{tail} uses inotify, this polling-related option is ignored. +When @command{tail} uses inotify, this polling-related option +is usually ignored. However, if you also specify @option{--pid=@var{p}}, +@command{tail} checks whether process @var{p} is alive at least +every @var{number} seconds. @itemx --pid=@var{pid} @opindex --pid |