{"id":17911447,"url":"https://github.com/tklauser/inotail","last_synced_at":"2025-03-23T22:33:54.304Z","repository":{"id":139858461,"uuid":"1510586","full_name":"tklauser/inotail","owner":"tklauser","description":"A fast and lightweight version of tail using inotify","archived":false,"fork":false,"pushed_at":"2011-03-22T09:30:29.000Z","size":226,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2023-03-11T17:28:50.024Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://distanz.ch/inotail","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tklauser.png","metadata":{"files":{"readme":"README","changelog":"changelog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-03-22T09:29:36.000Z","updated_at":"2023-03-11T17:32:07.732Z","dependencies_parsed_at":"2023-03-13T10:45:12.919Z","dependency_job_id":null,"html_url":"https://github.com/tklauser/inotail","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tklauser%2Finotail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tklauser%2Finotail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tklauser%2Finotail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tklauser%2Finotail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tklauser","download_url":"https://codeload.github.com/tklauser/inotail/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221919997,"owners_count":16901878,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-28T19:38:18.242Z","updated_at":"2024-10-28T19:38:18.960Z","avatar_url":"https://github.com/tklauser.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":" inotail - inotify enhanced tail\no===============================o\n\ninotail is a replacement for the 'tail' program found in the base installation\nof every Linux/UNIX system. It makes use of the inotify infrastructure in recent\nversions of the Linux kernel to speed up tailing files in the follow mode (the\n'-f' option). Standard tail polls the file every second by default while inotail\nlistens to special events sent by the kernel through the inotify API to\ndetermine whether a file needs to be reread.\n\ninotail is compatible to POSIX and GNU tail. See section \"Compatibility \u0026\noptions\" for more information.\n\nRequirements\n------------\n- Linux kernel 2.6.13 or higher with CONFIG_INOTIFY enabled\n- Standard C Library (tested with GNU libc but might work with others too)\n- GCC (other compilers might work but are not tested)\n\nBuilding and installing inotail\n-------------------------------\nTo build inotail type:\n\n\t$ make\n\nBy default, inotail is installed to /usr/local/bin/, the manpage is installed to\n/usr/local/share/man/man1/. To install the inotail files to these locations type:\n\n\t$ make install\n\nTo change these locations just set the prefix variable. E.g. to install the\ninotail binary to /usr/ and the manpage to /usr/share/man/ respectively type:\n\n\t$ make prefix=/usr install\n\nCompatibility \u0026 options\n-----------------------\ninotail is fully compatible with current POSIX and GNU tail, though the\nobsolescent options present in previous versions of those are not present (e.g.\ninotail +/-\u003cnum\u003e). The following options are present in inotail for\ncompatibility reasons (e.g. to use inotail as a tail replacement in scripts) but\ndo have no effect on inotail besides emiting a warning:\n\n-s N, --sleep-interval=N  inotail does not need a sleep interval because it's\n\t\t\t  relying on inotify.\n\n--max-unchanged-stats=N   inotail watches the containing directory of the file\n                          when following by name (--follow=name or -F). Thus it\n                          gets notified when a file gets moved or deleted.\n\n--pid=PID                 Watching the writer PID ios not possible, because\n                          inotail blocks on the read() call on the inotify fd.\n\t\t\t  In the worst case, the dying process wouldn't cause an\n\t\t\t  inotify event, so inotail would never get back from\n\t\t\t  the read().\n\nThese options are neither documented in the manpage nor the in-program help.\n\nLicense\n-------\ninotail is licensed under the terms of the GNU General Public License version 2\nor later. You can find the full text in the file LICENSE in the source tree of\ninotail.\n\n-- Tobias Klauser \u003ctklauser@distanz.ch\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftklauser%2Finotail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftklauser%2Finotail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftklauser%2Finotail/lists"}