How to Install and Uninstall perl-File-Tail Package on openSUSE Leap
Last updated: December 24,2024
1. Install "perl-File-Tail" package
This guide let you learn how to install perl-File-Tail on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
perl-File-Tail
Copied
2. Uninstall "perl-File-Tail" package
Please follow the step by step instructions below to uninstall perl-File-Tail on openSUSE Leap:
$
sudo zypper remove
perl-File-Tail
Copied
3. Information about the perl-File-Tail package on openSUSE Leap
Information for package perl-File-Tail:
---------------------------------------
Repository : Main Repository
Name : perl-File-Tail
Version : 1.3-bp155.2.9
Arch : noarch
Vendor : openSUSE
Installed Size : 68.8 KiB
Installed : No
Status : not installed
Source package : perl-File-Tail-1.3-bp155.2.9.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.
---------------------------------------
Repository : Main Repository
Name : perl-File-Tail
Version : 1.3-bp155.2.9
Arch : noarch
Vendor : openSUSE
Installed Size : 68.8 KiB
Installed : No
Status : not installed
Source package : perl-File-Tail-1.3-bp155.2.9.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.