取消
顯示結果 
搜尋替代 
您的意思是: 

關於ntp

關於ntp

我的機器剛裝好,也還沒設定ntp,為什麼下完rdate -v之後卻發現有network time....請問這是去哪裡抓到的網路時間

我的主機hostname is tru64

# rdate -v

172.16.13.178: Fri Nov 19 08:44:01 2004

172.16.201.201: Fri Nov 19 08:54:11 2004

172.16.201.101: Fri Nov 19 08:31:56 2004

172.16.130.90: Fri Nov 19 08:40:51 2004

172.16.12.52: Fri Nov 19 21:49:34 2004

tru64: Fri Nov 19 08:47:48 2004

172.16.167.123: Fri Nov 19 08:59:27 2004

172.16.13.249: Fri Nov 19 08:54:31 2004

Network time is Fri Nov 19 08:47:50 2004
1 回覆

關於ntp

Hello Joey,



"ntp" 和 "rdate" 兩種 services 是完全不相關. "rdate" 的結果是由 "time" (forked by inetd)所得到的. See



# grep time /etc/inetd.conf

time dgram udp wait root internal time

# grep time /etc/services

time 37/tcp timserver

time 37/udp timserver

#



The "rdate -v" sends a broadcast datagram packet on the same sub-network for getting the time values returned by all responding hosts and the average network time as you saw.



Best regards,

Richard.