Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2003 13:13:33 +0100
From:      John Murphy <jfm@blueyonder.co.uk>
To:        Shantanu Mahajan <shantanoo+fbsd@ieee.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Time Problem in 5.0
Message-ID:  <7n5qavocu0sf2t5ett2r6ala497u65s4b1@4ax.com>
In-Reply-To: <20030428090723.GA580@dhumketu.homeunix.net>
References:  <20030424202635.GA652@dhumketu.homeunix.net> <20030428090723.GA580@dhumketu.homeunix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Shantanu Mahajan <shantanoo+fbsd@ieee.org> wrote:

>+++ Shantanu Mahajan [freebsd] [25-04-03 01:56 +0530]:
>| 	Hi!
>| 	I am useing 5.0R.
>|=20
>| 	> date;sleep 1;date
>| 	Fri Apr 25 01:53:44 IST 2003
>| 	Fri Apr 25 01:53:46 IST 2003
>| 	>
>|=20
>| 	I am not able to figure out the problem. any
>| 	comments?
>=09
>	Here are few more examples.
>
>	> date;sleep 5;date
>	Mon Apr 28 14:13:45 IST 2003
>	Mon Apr 28 14:13:55 IST 2003
>	> date;sleep 10;date
>	Mon Apr 28 14:14:26 IST 2003
>	Mon Apr 28 14:14:46 IST 2003
>	> date;sleep 15;date
>	Mon Apr 28 14:15:24 IST 2003
>	Mon Apr 28 14:15:54 IST 2003
>	>
>
>	Now, I started the timer simultaneously and found
>	out that "sleep 5" give me dalay of 5 sec. properly.
>=09
>	Maybe there is problem with date?

A problem with your clock/hardware I think.  It works fine here:
> uname -a
=46reeBSD lexx.my.domain 5.0-RELEASE FreeBSD 5.0-RELEASE#2: Sun Feb  9 =
19:48:30 GMT 2003     root@lexx.my.domain:/usr/src/sys/i386/compile/LEXX =
 i386
> date;sleep 5;date
Mon Apr 28 12:41:56 BST 2003
Mon Apr 28 12:42:01 BST 2003
> date ; sleep 10 ; date
Mon Apr 28 12:42:14 BST 2003
Mon Apr 28 12:42:24 BST 2003
> date ; sleep 15 ; date
Mon Apr 28 12:42:37 BST 2003
Mon Apr 28 12:42:52 BST 2003
> date ; sleep 20 ; date
Mon Apr 28 12:43:15 BST 2003
Mon Apr 28 12:43:35 BST 2003

>	Should I file a pr?

Not while it works fine for others.  Does it keep good time generally?

>	(The machine used is *desktop* machine and don't
>	have any load)

Mine too.
John.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7n5qavocu0sf2t5ett2r6ala497u65s4b1>