Package: perl-File-Tail (1.3-bp156.3.1)
Perl extension for reading from continously updated files
The primary purpose of File::Tail is reading and analysing log files while they are being written, which is especialy usefull if you are monitoring the logging process with a tool like Tobias Oetiker's MRTG. The module tries very hard NOT to "busy-wait" on a file that has little traffic. Any time it reads new data from the file, it counts the number of new lines, and divides that number by the time that passed since data were last written to the file before that. That is considered the average time before new data will be written. When there is no new data to read, 'File::Tail' sleeps for that number of seconds. Thereafter, the waiting time is recomputed dynamicaly. Note that 'File::Tail' never sleeps for more than the number of seconds set by 'maxinterval'. If the file does not get altered for a while, 'File::Tail' gets suspicious and startschecking if the file was truncated, or moved and recreated. If anything like that had happened, 'File::Tail' will quietly reopen the file, and continue reading. The only way to affect what happens on reopen is by setting the reset_tail parameter (see below). The effect of this is that the scripts need not be aware when the logfiles were rotated, they will just quietly work on. Note that the sleep and time used are from Time::HiRes, so this module should do the right thing even if the time to sleep is less than one second. The logwatch script (also included) demonstrates several ways of calling the methods.
Package information
- Homepage
- [http://search.cpan.org/dist/File-Tail/]
- License
- Artistic-1.0 or GPL-1.0+
- Downstream package maintainer
- Unknown: not reported in the indexed source
- Source package
- [perl-File-Tail]
- Software project
- [perl-File-Tail]
Versions and downloads for perl-File-Tail
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 1.3-bp156.3.1leap-15.6 / oss | noarchopenSUSE Leap 15.6 · OSS · multi-architecture | 30 KiB | 69 KiB | list of files | perl-File-Tail-1.3-bp156.3.1.noarch.rpm |
About these downloads
Each row is recorded package-index metadata for one version, architecture, suite, and repository. Names, URLs, and sizes are source-reported; a link is a potentially mutable retrieval location, not an OpenFactory redistribution claim or proof that OpenFactory retained the artifact bytes.
Dependencies and recommendations for perl-File-Tail
dep: perl(:MODULE_COMPAT_5.26.1)
Package not available
Package file paths (10)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /usr/lib/perl5/vendor_perl/5.26.1/File
- /usr/lib/perl5/vendor_perl/5.26.1/File/Tail.pm
- /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
- /usr/share/doc/packages/perl-File-Tail
- /usr/share/doc/packages/perl-File-Tail/Changes
- /usr/share/doc/packages/perl-File-Tail/logwatch
- /usr/share/doc/packages/perl-File-Tail/README
- /usr/share/doc/packages/perl-File-Tail/select_demo
- /usr/share/doc/packages/perl-File-Tail/Tail.pm.debug
- /usr/share/man/man3/File::Tail.3pm.gz
Field source: openSUSE Leap 15.6 OSS
