From: Maxim Tyurin <mrkooll@bungarus.info>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Убегает системное время.
Date: Wed, 12 Mar 2008 17:07:07 +0200
Message-ID: <m3lk4oc76s.fsf@bungarus.tdr.pibhe.com> (raw)
In-Reply-To: <200803112204.49617.ave4600@gmail.com> (Alexander Yereschenko's message of "Tue\, 11 Mar 2008 22\:04\:49 +0200")
Alexander Yereschenko writes:
> Доброе!
>
> Имеется ноут, который иногда остается включенный на несколько суток (закачка с
> инета). И вот обратил внимание, что системное время имеет свойство убегать
> (отставать).
> ====
> $ sudo hwclock --show ; date
> Tue Mar 11 21:45:34 2008 -0.868160 seconds EET
> Втр Мар 11 21:42:06 EET 2008
>
> $ sudo ntpdate pool.ntp.org
> 11 Mar 21:43:07 ntpdate[20261]: step time server 91.198.10.20 offset
> 211.589402 sec
> ====
>
> Вот на столько убегает за сутки, что есть многовато...
> Можно как-то подправить скорость хода системных часов (именно системных, ибо
> HW-clock идет нормально), кроме варианта периодической синхронизации через
> инет (напр, нет инета) ?
> "hwclock --hctosys" по крону тоже вариант, но может можно поправить где-то "в
> консерватории" ?
cat /etc/adjtime
Там как раз величина коррекции хода часов.
hwclock --hctosys как раз делать не надо.
Нужно занулить величину коррекции.
Потом с помощью ntpdate подводить часы.
--
With Best Regards, Maxim Tyurin
JID: MrKooll@jabber.pibhe.com
___
/ _ )__ _____ ___ ____ _______ _____
/ _ / // / _ \/ _ `/ _ `/ __/ // (_-<
/____/\_,_/_//_/\_, /\_,_/_/ \_,_/___/
/___/
next prev parent reply other threads:[~2008-03-12 15:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-11 20:04 Alexander Yereschenko
2008-03-12 15:07 ` Maxim Tyurin [this message]
2008-03-12 15:30 ` Denis G. Samsonenko
2008-03-12 15:52 ` Алексей Синицын
2008-03-12 18:57 ` Maxim Tyurin
2008-03-13 4:06 ` Denis G. Samsonenko
2008-03-12 19:10 ` Alexander Yereschenko
2008-03-12 19:18 ` Алексей Синицын
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3lk4oc76s.fsf@bungarus.tdr.pibhe.com \
--to=mrkooll@bungarus.info \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git