summaryrefslogtreecommitdiff
path: root/README
blob: 577584e22ab150fabf40492bfbfabd41807e9a7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
 inotail - inotify enhanced tail
o===============================o

inotail is a replacement for the 'tail' program found in the base installation
of every Linux/UNIX system. It makes use of the inotify infrastructure in recent
versions of the Linux kernel to speed up tailing files in the follow mode (the
'-f' option). Standard tail polls the file every second by default while inotail
listens to special events sent by the kernel through the inotify API to
determine whether a file needs to be reread.

Currently inotail is not fully compatible to neither POSIX or GNU tail but might
be in the future.

Requirements
------------
- Linux kernel 2.6.13 or higher with CONFIG_INOTIFY enabled
- Standard C Library (tested with GNU libc but might work with others too)
- GCC (other compilers might work but are not tested)

Building and installing inotail
-------------------------------
To build inotail type:

	$ make

By default, inotail is installed to /usr/local/bin/, the manpage is installed to
/usr/local/share/man/man1/. To install the inotail files to these locations type:

	$ make install

To change these locations just set the prefix variable. E.g. to install the
inotail binary to /usr/ and the manpage to /usr/share/man/ respectively type:

	$ make prefix=/usr install

License
-------
inotail is licensed under the terms of the GNU General Public License version 2
or later. You can find the full text in the file LICENSE in the source tree of
inotail.

The files inotify.h and inotify-syscalls.h were taken from the source tree of
the Linux kernel and slightly altered. Both are licensed under the terms of the
GNU General Public License version 2.

-- Tobias Klauser <tklauser@distanz.ch>
lass='deletions'>-2/+0 2016-01-11watchdog: Add support for creating driver specific sysfs attributesGuenter Roeck1-0/+3 2016-01-11watchdog: kill unref/ref opsTomas Winkler1-2/+0 2015-12-29watchdog: Separate and maintain variables based on variable lifetimeGuenter Roeck1-14/+8 2015-12-13watchdog: core: add reboot notifier supportDamien Riegel1-0/+9 2015-12-13watchdog: core: add restart handler supportDamien Riegel1-0/+6 2015-11-03watchdog: include: add units for timeout values in kerneldocWolfram Sang1-5/+5 2015-11-03watchdog: include: fix some typosWolfram Sang1-2/+2 2015-11-03watchdog: Always evaluate new timeout against min_timeoutGuenter Roeck1-2/+9 2015-09-04kernel/watchdog: move NMI function header declarations from watchdog.h to nmi.hGuenter Roeck1-8/+0 2015-06-29watchdog: watchdog_core: Add watchdog registration deferral mechanismJean-Baptiste Theou1-0/+3 2015-04-02watchdog: Add watchdog enable/disable all functionsStephane Eranian1-0/+8 2014-10-20watchdog: simplify definitions of WATCHDOG_NOWAYOUT(_INIT_STATUS)?Uwe Kleine-K├Ânig1-7/+2 2013-03-01watchdog: core: dt: add support for the timeout-sec dt propertyFabio Porcedda1-0/+9 2012-12-19watchdog: WatchDog Timer Driver Core: fix commentFabio Porcedda1-1/+1 2012-11-19Fix misspellings of "whether" in comments.Adam Buchbinder1-1/+1 2012-10-13UAPI: (Scripted) Disintegrate include/linuxDavid Howells1-48/+1 2012-05-30watchdog: Add support for dynamically allocated watchdog_device structsHans de Goede1-0/+5 2012-05-30watchdog: Add Locking supportHans de Goede1-0/+5 2012-05-30watchdog: create all the proper device filesAlan Cox1-0/+4 2012-05-30watchdog: Add a flag to indicate the watchdog doesn't reboot thingsAlan Cox1-0/+2 2012-05-30watchdog: Add multiple device supportAlan Cox1-0/+6 2012-05-30watchdog: Add watchdog_active() routineViresh Kumar1-0/+6 2012-03-27watchdog: Add support for WDIOC_GETTIMELEFT IOCTL in watchdog coreViresh Kumar1-0/+2 2012-03-27watchdog: nowayout is boolWim Van Sebroeck1-1/+1 2012-01-06watchdog: add nowayout helpers to Watchdog Timer Driver Kernel APIWim Van Sebroeck1-5/+16 2011-07-28watchdog: WatchDog Timer Driver Core - Add minimum and max timeoutWim Van Sebroeck1-0/+4 2011-07-28watchdog: WatchDog Timer Driver Core - Add ioctl callWim Van Sebroeck1-0/+2 2011-07-28watchdog: WatchDog Timer Driver Core - Add nowayout featureWim Van Sebroeck1-0/+1 2011-07-28watchdog: WatchDog Timer Driver Core - Add Magic Close featureWim Van Sebroeck1-0/+1 2011-07-28watchdog: WatchDog Timer Driver Core - Add WDIOC_SETTIMEOUT and WDIOC_GETTIME...Wim Van Sebroeck1-0/+4 2011-07-28watchdog: WatchDog Timer Driver Core - Add WDIOC_SETOPTIONS ioctlWim Van Sebroeck1-0/+1 2011-07-28watchdog: WatchDog Timer Driver Core - Add basic ioctl functionalityWim Van Sebroeck1-0/+4 2011-07-28watchdog: WatchDog Timer Driver Core - Add basic frameworkWim Van Sebroeck1-0/+61