How to Install and Uninstall perl-File-Tail Package on openSuSE Tumbleweed

Last updated: May 17,2024

1. Install "perl-File-Tail" package

This guide covers the steps necessary to install perl-File-Tail on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install perl-File-Tail

2. Uninstall "perl-File-Tail" package

Learn how to uninstall perl-File-Tail on openSuSE Tumbleweed:

$ sudo zypper remove perl-File-Tail

3. Information about the perl-File-Tail package on openSuSE Tumbleweed

Information for package perl-File-Tail:
---------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-File-Tail
Version : 1.3-1.29
Arch : noarch
Vendor : openSUSE
Installed Size : 68.6 KiB
Installed : No
Status : not installed
Source package : perl-File-Tail-1.3-1.29.src
Upstream URL : http://search.cpan.org/dist/File-Tail/
Summary : Perl extension for reading from continously updated files
Description :
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.