On Sun, Sep 19, 2004 at 10:57:31PM +0300, Alexandros Papadopoulos wrote: > To make sure the system was alive at that time, syslog periodically > writes such messages to /var/log/messages: > > Sep 19 22:09:27 debian -- MARK -- > Sep 19 22:29:27 debian -- MARK -- > Sep 19 22:49:27 debian -- MARK -- > > How is it possible to adjust the frequency of such entries? I'd like to > make it less frequent than 20 minutes.
RTM |From syslogd (8): -m interval The syslogd logs a mark timestamp regularly. The default interval between two -- MARK -- lines is 20 minutes. This can be changed with this option. Setting the interval to zero turns it off entirely. |From /etc/init.d/sysklogd: # Options for start/restart the daemons # For remote UDP logging use SYSLOGD="-r" # SYSLOGD="" ^ change that to: SYSLOGD="-m 60" or, if that means "every minute" (try it): SYSLOGD="-m 3600" -- The world's most effective spam filter: ln -sf /dev/full /var/mail/$USER -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]