File: README.ru

package info (click to toggle)
adjtimex 1.29-9
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 892 kB
  • sloc: ansic: 9,081; sh: 311; makefile: 123
file content (192 lines) | stat: -rw-r--r-- 7,141 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
ADJTIMEX 

  ,      man  adjtimex :-)




,   ,        -
"  " (RTC - Real Time Clock),    ,
  ,      . 
    ( 1 u),   RTC, ,  
    (long-term stability). adjtimex
      .

RTC    


	adjtimex --compare

 ,    ,   ( 
           RTC),
    : tick   .    
         , 
       RTC. 
, RTC     . clock(8)  
hwclock(8)   /etc/adjtime     
(drift rate)      RTC. adjtimex  
         RTC.

 , adjtimex       
 (reference) ,  .      
     (drift rates).




   "./configure",   - "make",
 "make install"     /usr/local/bin, 
 man  /usr/local/man/man8.     
 /usr  /usr/local,   "./configure --prefix=/usr".


 

         root.

     RTC,      
   (,   adjtimex). , , 
 ntpd   ,  "" RTC 
  . adjtimex     
   .     .




 /etc/adjtime,   clock(8)  hwclock(8) 
    RTC.  ,   
 man,   . clock  (  
  )     (Rik Faith):
sunsite.unc.edu:pub/Linux/system/Misc/util-linux-1.10.tar.gz   RTC
    ,    /etc/adjtime,  
   : '0.0 0 0.0'.

    .

   adjtimex   --compare.
   :

	# adjtimex --compare
	794625929   -0.597638 -0.597638  ...
	794625939   -0.602050 -0.004412  ...
			      ^^^^^^^^^
  ,        4 
 10     RTC,  4   10000. ,
   tick  10004   :

	# adjtimex  --tick 10004
	# adjtimex --compare
	794626037   -0.644860 -0.644860  ...
	794626047   -0.645259 -0.000399  ...

      39.9   .  
       (frequency offset). 
,    -     ,   
  ( 16    ). ,   
  39.9*65536 = 2614886:

	# adjtimex  --frequency 2614886
	# adjtimex --compare
	794626313   -0.652147 -0.652147  ...
	794626323   -0.652247 -0.000100  ...

,      10 ppm,     
10*65536,  3270246:

	# adjtimex  --frequency 3270246
	# adjtimex --compare
	794627233   -0.795221 -0.795221  ...
	794627243   -0.795231 -0.000009  ...

       "suggested" ("").
  --adjust   -  
"" .

,   --offset  --singleshot  
   .      tick  
    .

     ,  ,  /etc/rc.d/rc.S, /etc/init.d/boot 
     :

	# Adjust CMOS clock based on /etc/adjtime, then set system clock.
	# Add -u switch if your system keeps GMT.
	if [ -x /sbin/clock ]; then
	  /sbin/clock -a
	fi

    :

	# Regulate the sytem clock
	if [ -x /sbin/adjtimex ]; then
	  /sbin/adjtimex  --tick 10004  --frequency 3270246 
	fi


 

adjtimex       CMOS  ,
   (reference) ,    
    .     
 

	# adjtimex  --log --watch

adjtimex    ,    , 
    .      
       .      
 ,    WWV  CHU  ..

    ntpdate (  xntp)   
 , 

	# adjtimex  --log  --host www.xxx.yyy.zzz

 adjtimex   ntpdate     
. (   ,      NTP, 
    .)

 ,       log,   
adjtimex    

	# adjtimex  --review

            
     (ppm)   .   
        . 
  .     
    .


 

       ,
  David L. Mills <mills@udel.edu>:

[MIL92a] Mills, D.L. Network Time Protocol (Version 3) specification,
implementation and analysis, RFC 1305, University of Delaware, March
1992, 113 pp.

[MIL92c] Mills, D.L. Simple Network Time Protocol (SNTP), RFC 1361,
University of Delaware, August 1992, 10 pp.

[MIL94a] Mills, D.L. A kernel model for precision timekeeping. ARPA
Network Working Group Report RFC-1589, University of Delaware, March
1994. 31 pp.

README.kern,     louie.udel.edu:/pub/ntp/kernel.tar.Z.




  (David Mills)     ,  
 (Steven Dick) <ssd@nevets.oau.org>    
adjtimex. (   .   -  .)
    (Michael Meskes) <meskes@debian.org>, 
    Debian    "--compare" 
"--adjust".


!
                - Jim Van Zandt <jrv at comcast.net>