wrong kern.boottime

Cyrille Lefevre clefevre-lists at 9online.fr
Thu Feb 5 03:43:38 PST 2004


"Poul-Henning Kamp" wrote :


> In message <068601c3eb6c$68b7d7e0$7890a8c0 at dyndns.org>, "Cyrille Lefevre"
write
> s:
> >Hi,
> >
> >sysctl kern.boottime seems to be wrong in -head.
> >
> ># last reboot
> >reboot           ~                         Sun Feb  1 21:41
> ># ls -l /var/run/dmesg.boot
> ><
> >-rw-r--r--  1 root  wheel  5547 Feb  1 21:40 /var/run/dmesg.boot
> ># sysctl kern.boottime
> >kern.boottime: { sec = 1075812223, usec = 350585 } Tue Feb  3 13:43:43 2004
> ># uname -a
> >FreeBSD gits 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Sat Jan 31 15:17:05 CET 2004
> >
> >any idea ?
>
> What does "date" say on your machine ?

# date -u
Thu Feb  5 11:39:36 UTC 2004
# date
Thu Feb  5 12:39:39 CET 2004
# ls -l /etc/wall_cmos_clock
-rw-r--r--  1 root  wheel  0 Jun  9  2001 /etc/wall_cmos_clock

ntpd is running, so, I'm on time.

Cyrille Lefevre.
-- 
mailto:clefevre-lists at 9online.fr



More information about the freebsd-current mailing list