[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (Not so) Stupid question





Jonathan Ben-Avraham wrote:

> On Tue, 19 Sep 2000, guy keren wrote:
>
> >
> > On Tue, 19 Sep 2000, Omer Musaev wrote:
> >
> > > System time jumps one hour backwords once a day (a night).
> > > There is no rdate, ntpdate, or similar on cron.
> > > There is no apmd running.
> > > There is no ntpd or xntpd running.
> > > There is no timezone, since system time is stored in RTC.
> >
> > i would suggest the following to try and track the problem:
> >
> > 1. enable process accounting.
> > 2. write a cron job that will write the time into a file, once a minute.
>              ~~~~
> Been there done that...
> Took me a long time to realize that cron can't be used to diagnose clock
> troubles. IMHO cron is a victim of the problem, not a means of diagnosis.
> Better to use a process that waits on a read from a machine whose clock
> you trust.
>
>  - yba

Well, writing a small script which is:

while date >> /tmp/time_track.log ; do
sleep 60
done

was my first attempt.

>From there I know that time is changes at 4:01 AM to 3:01 AM.

However, there was no sign of any process that changed its time!!>

> > then wait a day. check the exact time in which the machine's time drifted
> > by an hour, and then look for suspicious activity in the proces accounting
> > data.
> >
> > btw, i assume that the machine is not rebooted every day. right?
> >

No, it is linux machine (tm).

>
> > guy
> >
> > "For world domination - press 1,
> >  or dial 0, and please hold, for the creator." -- nob o. dy
> >
> >
> > =================================================================
> > To unsubscribe, send mail to linux-il-request@linux.org.il with
> > the word "unsubscribe" in the message body, e.g., run the command
> > echo unsubscribe | mail linux-il-request@linux.org.il
> >
> >
>
>    EE 77 7F 30 4A 64 2E C5  83 5F E7 49 A6 82 29 BA    ~. .~   TclTek Ltd.
>  =}-------------------------------------------------ooO--U--Ooo-----------{=
>   - benavrhm@tcltek.co.il - tel: +972.52.670.353, http://www.tcltek.co.il -

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il