R
Rocky
hi all
I have the fiollowing script called syslogwatch:
#!/usr/bin/perl
use strict;
use warnings;
while (<>)
{
do stuff here;
}
I pipe mail.* to it from syslog.conf but it keeps overwriting my script
with mail.* entries
syslog.conf (Suse 9.0) looks like
mail.* |/var/perlmon/syslogwatch
is the syslog not coming in as a stream? What can I do differently?
thanks,
Rocky
I have the fiollowing script called syslogwatch:
#!/usr/bin/perl
use strict;
use warnings;
while (<>)
{
do stuff here;
}
I pipe mail.* to it from syslog.conf but it keeps overwriting my script
with mail.* entries
syslog.conf (Suse 9.0) looks like
mail.* |/var/perlmon/syslogwatch
is the syslog not coming in as a stream? What can I do differently?
thanks,
Rocky