EMC Professional NET
22
23
EMC Professional NET
With „
peers
“ a table of the active referencee clocks can be dis-
played. An asterisk at the beginning of a line (*) shows the up-
to-date time referencee.
4.2.4 Setup of a NTP daemon
Like all UNIX system services (daemons)
ntpd
should be started
by a rc-script. If you are using
NTP
of the
RPM
of
SuSE Linux
,
you will find such a rc-script in
/etc/init.d/xntpd
. With
„# /etc/
init.d/xntpd start
“ and
„# /etc/init.d/ntpd stop“
you can start and
quit the NTP daemon. An example of this script, you can find on
the CD-ROM.
To start the rc-script automatically at each start of the system,
you have to make sure, that a link to
/etc/init.d/xntpd
is created
in the corresponding runlevels. Users of SuSE Linux can use
the runlevel editor in ‚yast‘.
If the synchronization was done correct, the following message
will be written to the NTP logfile:
remote refid st t when poll reach delay offset jitter
=========================================================
*GENERIC(0).DCF. 0 l 5 64 1 0.000 2.846 0.008
Figure 14
peers
ntpd[1103]: PARSE receiver #0: packet format „hopf Funk-
uhr 6021“
ntpd[1103]: PARSE receiver #0: STATE CHANGE: -> TIME
CODE
ntpd[1103]: PARSE receiver #0: SYNCHRONIZED
ntpd[1103]: clock GENERIC(0) event ‚clk_okay‘ (0x00)
....................................
ntpd[1103]: time reset -0.745079 s
Figure 15 NTP logfile