Do not work turn-off line to syslogd "last message repeated N times'"

Yuri Pankov yuri.pankov at gmail.com
Fri Mar 2 23:26:51 UTC 2012


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 at 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?


More information about the freebsd-questions mailing list