wget
(5),ntp_auth
(5),ntp_clock
(5),ntp_misc
(5),ntp_mon
(5).driftfile/var/lib/ntp/drift#Permittimesynchronizationwithourtimesource,butdonot#permitthesourcetoqueryormodifytheserviceonthissystem.restrictdefaultkodnomodifynotrapnopeernoqueryrestrict-6defaultkodnomodifynotrapnopeernoquery#essovertheloopbackinterface.Thiscould#betightenedaswell,buttodosowouldeffectsomeof#theadministrativefunctions.restrict127.0.0..168.1.0mask255.255.255.0nomodifyrestrict-6::1#workarelessrestricted.#restrict192.168.1.0mask255.255.255.0nomodifynotrap#project.#Pleaseconsiderjoiningthepool()
#broadcast192.168.1.255autokey#broadcastserver#broadcastclient#broadcastclient#broadcast224.0.1.1autokey#multicastserver#multicastclient224.0.1.1#multicastclient#manycastserver239.255.254.254#manycastserver#manycastclient239.255.254.254autokey#manycastclient#UndisciplinedLocalClock.Thisisafakedriverintendedforbackup#andwhennooutsidesourceofsynchronizedtimeisavailable.#server127.127.1.0#localclock#fudge127.127.1.0stratum10#Enablepublickeycryptography.#cryptoincludefile/etc/ntp/crypto/pw#Keyfilecontainingthekeysandkeyidentifiersusedwhenoperating#withsymmetrickeycryptography.keys/etc/ntp/keys#Specifythekeyidentifierswhicharetrusted.#trustedkey#Specifythekeyidentifiertousewiththentpdcutility.#requestkey8#Specifythekeyidentifiertousewiththentpqutility.#controlkey8#Enablewritingofstatisticsrecords.#statisticsclockstatscryptostatsloopstatspeerstats[root@NMS~]#
4Aug15:39:48ntpdate[]:steptimeserver192.168.1.200offset.sec[root@acs421nrpe-2.13]#dateTueAug415:39:54CST[root@acs421nrpe-2.13]#
[root@acs421nrpe-2.13]#crontab-e*/1****/usr/sbin/ntpdate192.168.1.200
[root@acs421nrpe-2.13]#crontab-l*/1****/usr/sbin/ntpdate192.168.1.200
[root@acs421nrpe-2.13]#vi/etc/ntp.conf[root@acs421nrpe-2.13]#cat/etc/ntp.conf
#workarelessrestricted.#restrict192.168.1.0mask255.255.255.0nomodifynotrap#project.#Pleaseconsiderjoiningthepool().#iburst#iburst#iburst#iburstserver192.168.1.200
[root@NMS~]#chkconfigntpdon[root@NMS~]#[root@NMS~]#vi/etc/sysconfig/ntpd
[root@NMS~]#cat/etc/sysconfig/ntpd#CommandlineoptionsforntpdOPTIONS="-g"SYNC_HWCLOCK=yes[root@NMS~]#[root@NMS~]#servicentpdrestart
xzg5:您好,想请问您。我用vbs串口接收十六进制数据类似时,只读取了,遇到00就自动停止读取了,请问有解决办法吗?万分感谢