EMC Professional NET
14
15
EMC Professional NET
3.2.3 Linux
Under Linux, there are several ways to synchronize the PC
clock with a network time server. This chapter shows how you
can synchronize your PC clock with
ntpdate
and
cron
.
Please check, if
ntpdate
is installed already. Therefor, please
use the command „
which ntpdate
“. If
ntpdate
is installed,
which
will display the location on your PC (Figure 8)
If
which
does not display a location, please install
ntpdate
(in-
cluded in
NTP
). You can find the script
make_all.sh
for instal-
lation at the CD-ROM at „EMC_Professional_NET\tools\linux\
get_ntp“. More information about the installation you can find in
chapter 4.2.
With „
ntpdate IP address of
EMC Prof NET (19“)
“
you can syn-
chronize your PC clock. If you only want to request the time of
EMC Prof NET (19“)
, you have to use the paramter
„-q“
after
the command.
linux:/ # which ntpdate
/usr/sbin/ntpdate
linux:/ #
Figure 8
ntpdate
was found
linux:/ # ntpdate 192.168.0.2
9 Mar 10:26:44 ntpdate[4012]: step time server
192.168.0.2 offset -0.02398 sec
linux:/ # ntpdate -q 192.168.0.2
9 Mar 10:26:50 ntpdate[4013]: adjust timer server
192.168.0.2 offset -0.00145 sec
linux:/ #
Figure 9
ntpdate