search for: rotsiz

Displaying 1 result from an estimated 1 matches for "rotsiz".

Did you mean: rotsize
2004 Nov 10
1
logtail ignoring information in rotated logs
...des a script (fiaif-scan) that invokes logtail to examine syslog, but does not check rotated logs. Joel --- /usr/sbin/logtail 2004-09-23 06:06:24.000000000 +0930 +++ logtailng.pl 2004-11-11 02:10:55.000000000 +1030 @@ -21,7 +21,7 @@ use strict; use warnings; -my ($size); +my ($size, $rotsize); use Getopt::Std; my %opts = (); @@ -52,7 +52,7 @@ exit 66; } -my ($inode, $ino, $offset) = (0, 0, 0); +my ($inode, $ino, $offset, $rotatedino) = (0, 0, 0, 0); unless (not $offsetfile) { if (open(OFFSET, $offsetfile)) { @@ -82,6 +82,22 @@ print "***************...