Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Mar 2012 02:59:05 +0400
From:      Yuri Pankov <yuri.pankov@gmail.com>
To:        "Vladislav V. Prodan" <universite@ukr.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Do not work turn-off line to syslogd "last message repeated N times'"
Message-ID:  <4F5150B9.90100@gmail.com>
In-Reply-To: <4F514F23.7040804@ukr.net>
References:  <4F514F23.7040804@ukr.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sat, 03 Mar 2012 00:52:19 +0200, Vladislav V. Prodan wrote:

> Subj.
>
> # uname -a
> FreeBSD XXX.ru 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #1: Mon Dec  5
> 14:56:07 EET 2011     root@XXX.ru:/usr/obj/usr/src/sys/XXX.2  amd64
>
>
> # ps -auxww | grep syslog
> root         84784   0,0  0,0  12168   1348  ??  Ss   ср00
> 0:03,24 /usr/sbin/syslogd -sc
> root         24776   0,0  0,0  16408   1364   9  S+    2:50
> 0:00,00 grep syslog
>
>
> #man syslogd
>
> ...
>       -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.
> ...

You have 'c' specified once and don't seem to be piping the output to 
another program. Try specifying 'c' twice as the part of the manpage you 
pasted suggests?



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4F5150B9.90100>