messages in /var/log/

messages in /var/log/

am 04.08.2004 04:15:49 von Karthik Vishwanath

I have a whole load of entries that look like:

Aug 3 14:48:38 gandalf -- MARK --
Aug 3 15:08:38 gandalf -- MARK --
....


These are repeated every 20 minutes. How can I determine where are they
coming from and what they mean?

Thanks,

-K

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: messages in /var/log/

am 04.08.2004 04:36:28 von Karthik Vishwanath

these are in /var/log/messages.

sorry for the omission.

-K


On Tue, 3 Aug 2004, at 10:15pm, Karthik Vishwanath wrote:

> I have a whole load of entries that look like:
>
> Aug 3 14:48:38 gandalf -- MARK --
> Aug 3 15:08:38 gandalf -- MARK --
> ...
>
>
> These are repeated every 20 minutes. How can I determine where are they
> coming from and what they mean?
>
> Thanks,
>
> -K
>

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: messages in /var/log/

am 04.08.2004 07:41:33 von Ray Olszewski

At 10:15 PM 8/3/2004 -0400, Karthik Vishwanath wrote:
>I have a whole load of entries that look like:
>
>Aug 3 14:48:38 gandalf -- MARK --
>Aug 3 15:08:38 gandalf -- MARK --
>...
>
>
>These are repeated every 20 minutes. How can I determine where are they
>coming from and what they mean?

Second things first ... what they mean is that the system was operational
at the times associated with the timestamps. If you try to log on to your
system and find it dead as a doornail, needing a hard reboot, the last MARK
you find in the logs after a reboot will tell you the approximate time of
the failure.

As to where they are coming from ... on my Debian systems, it's a built-in
feature of syslogd. Check your man page for the -m option to see if yours
matches mine (I haven't seen a question from you in awhile, and I forget
what distro you are running). You can change the frequency with -m, and 20
minutes is the default.



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: messages in /var/log/

am 04.08.2004 07:42:38 von Richard Adams

On Wednesday 04 August 2004 04:15, Karthik Vishwanath wrote:
> I have a whole load of entries that look like:
>
> Aug 3 14:48:38 gandalf -- MARK --
> Aug 3 15:08:38 gandalf -- MARK --
> ...

syslogd puts it in /var/log/messages, see 'man syslogd'
The -m option is supposed to turn it off, i remember years ago it was not
possable to turn it off completly, as to it working now i have not tryed.

>
> These are repeated every 20 minutes. How can I determine where are they
> coming from and what they mean?
>
> Thanks,
>
> -K

--
If the Linux community is a bunch of thieves because they
try to imitate windows programs, then the Windows community
is built on organized crime.

Regards Richard
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: messages in /var/log/

am 04.08.2004 17:54:27 von chuck gelm net

Karthik Vishwanath wrote:
> I have a whole load of entries that look like:
>
> Aug 3 14:48:38 gandalf -- MARK --
> Aug 3 15:08:38 gandalf -- MARK --
> ...
>
>
> These are repeated every 20 minutes. How can I determine where are they
> coming from and what they mean?
>
> Thanks,
>
> -K

Hi, K:

Tell us which distribution-release, and kernel version.
On my Slackware-9.1, 2.4.22, it comes from
/etc/rc.d/rc.syslog
in the line
/usr/sbin/syslogd
the default 'argument value' is 20 minutes
-m 20
and can be set to zero (never) with
-m 0

See 'man syslogd'.

It may be used to determine, approximately, when a system 'died'.

HTH, Chuck


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs