Any idea how to do this?
Thanks...
Tom Porter, Ph.D.
NOTICE: By spamming me,
you consent to a free security audit
spammers...@krumpli.com
> Thanks...
>
np.
--
Paweł Jakub Dawidek
Network Administrator.
Am I Evil? Yes, I Am.
>Tom Porter <spammers...@krumpli.com> wrote:
>> 'm using log_in_vain="YES" and i have a shell script that organizes
>> the syslog output. For statistics, I'd like to get rid of the
>> following message: "last message repeated x times" & capture the
>> actual output.
>>
>> Any idea how to do this?
>>
>syslogd(8)
> -c Disable the compression of repeated instances of the same line
> into a single line of the form `last message repeated N times''
> when the output is a pipe to another program. If specified
> twice, disable this compression in all cases.
>
>> Thanks...
>>
>np.
Thank you - now aplogoies for being stupid, but when I look at the man
page for syslogd, I don't see a -c switch. When I tried sticking this
switch in rc.conf syslogd_flags, syslogd exited w/ a failure. ANy
idea what I'm missing here?
Thanks again
> Thank you - now aplogoies for being stupid, but when I look at the man
> page for syslogd, I don't see a -c switch. When I tried sticking this
> switch in rc.conf syslogd_flags, syslogd exited w/ a failure. ANy
> idea what I'm missing here?
That feature was added within the last five weeks...
>>Tom Porter <spammers...@krumpli.com> wrote:
>>> 'm using log_in_vain="YES" and i have a shell script that organizes
>>> the syslog output. For statistics, I'd like to get rid of the
>>> following message: "last message repeated x times" & capture the
>>> actual output.
>>>
>>> Any idea how to do this?
>>syslogd(8)
>> -c Disable the compression of repeated instances of the same line
>> into a single line of the form `last message repeated N times''
>> when the output is a pipe to another program. If specified
>> twice, disable this compression in all cases.
>Thank you - now aplogoies for being stupid, but when I look at the man
>page for syslogd, I don't see a -c switch. When I tried sticking this
>switch in rc.conf syslogd_flags, syslogd exited w/ a failure. ANy
>idea what I'm missing here?
Well if you type man syslogd you do NOT see the -c option.
[I'm guessing an omission here]. I just checked and while it is
in the description area it is the only flag missing from
the command line synopsis at the top of the page.
Bill
--
Bill Vermillion - bv @ wjv . com
>Thank you - now aplogoies for being stupid, but when I look at the man
>page for syslogd, I don't see a -c switch. When I tried sticking this
>switch in rc.conf syslogd_flags, syslogd exited w/ a failure. ANy
>idea what I'm missing here?
The -c option was added shortly before FreeBSD 4.5 was released,
so unless you're running 4.5 you probably don't have it.
David.