perl-File-Tail - Perl extension for reading from continously updated files

Property Value
Distribution openSUSE Leap 42.2
Repository openSUSE Oss all
Package name perl-File-Tail
Package version 1.3
Package release 5.1
Package architecture noarch
Package type rpm
Installed size 69.61 KB
Download size 25.45 KB
Official Mirror
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
The logwatch script (also included) demonstrates several ways of calling
the methods.


Package Version Architecture Repository
perl-File-Tail - - -


Name Value
perl(:MODULE_COMPAT_5.18.2) -
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsLzma) <= 4.4.6-1


Name Value
perl(File::Tail) = 1.3
perl-File-Tail = 1.3-5.1


Type URL
Binary Package perl-File-Tail-1.3-5.1.noarch.rpm
Source Package perl-File-Tail-1.3-5.1.src.rpm

Install Howto

Install perl-File-Tail rpm package:

# zypper install perl-File-Tail

See Also

Package Description
perl-File-Temp-0.2304-7.1.noarch.rpm Return name and handle of a temporary file safely
perl-File-Touch-0.11-1.1.noarch.rpm Update File Access and Modification Times, Optionally Creating Files If Needed
perl-File-Type-0.22-166.1.x86_64.rpm determine file type using magic
perl-File-Which-1.21-1.2.noarch.rpm Perl implementation of the which utility as an API
perl-File-chdir-0.1010-4.1.noarch.rpm More Sensible Way to Change Directories
perl-File-pushd-1.009-4.1.noarch.rpm change directory temporarily for a limited scope
perl-FileHandle-Unget-0.1628-4.1.noarch.rpm FileHandle which supports multi-byte unget
perl-Filesys-Df-0.92-19.2.x86_64.rpm Perl extension for filesystem disk space information
perl-Filesys-Notify-Simple-0.12-6.1.noarch.rpm Simple and dumb file system watcher
perl-Finance-Quote-1.37-1.1.noarch.rpm Get stock and mutual fund quotes from various exchanges
perl-FindBin-Real-1.05-17.1.noarch.rpm Locate directory of original perl script
perl-Font-AFM-1.20-53.1.x86_64.rpm Interface to Adobe Font Metrics Files
perl-Font-FreeType-0.07-1.2.x86_64.rpm Read Font Files and Render Glyphs From Perl Using Freetype2
perl-Font-TTF-1.05-4.1.noarch.rpm Perl module for TrueType Font hacking
perl-FreezeThaw-0.5001-22.1.x86_64.rpm Converting Perl structures to strings and back