sunilkum84 / inotail Goto Github PK
View Code? Open in Web Editor NEWThis project forked from tklauser/inotail
A fast and lightweight version of tail using inotify
Home Page: http://distanz.ch/inotail
License: GNU General Public License v2.0
This project forked from tklauser/inotail
A fast and lightweight version of tail using inotify
Home Page: http://distanz.ch/inotail
License: GNU General Public License v2.0
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. inotail is compatible to POSIX and GNU tail. See section "Compatibility & options" for more information. 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 Compatibility & options ----------------------- inotail is fully compatible with current POSIX and GNU tail, though the obsolescent options present in previous versions of those are not present (e.g. inotail +/-<num>). The following options are present in inotail for compatibility reasons (e.g. to use inotail as a tail replacement in scripts) but do have no effect on inotail besides emiting a warning: -s N, --sleep-interval=N inotail does not need a sleep interval because it's relying on inotify. --max-unchanged-stats=N inotail watches the containing directory of the file when following by name (--follow=name or -F). Thus it gets notified when a file gets moved or deleted. --pid=PID Watching the writer PID ios not possible, because inotail blocks on the read() call on the inotify fd. In the worst case, the dying process wouldn't cause an inotify event, so inotail would never get back from the read(). These options are neither documented in the manpage nor the in-program help. 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. -- Tobias Klauser <[email protected]>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.