rdate - 从远程主机设置系统日期
rdate hostname
rdate 从以参数形式提供的 hostname 主机设置本地日期和时间。您必须对本地系统具有 solaris.system.date 授权。通常,rdate 在启动脚本中使用。
指定主机上的 “time” 服务对 rdate 请求进行响应。要启用 “time” 服务,请使用以下命令:
svcadm enable time:stream svcadm enable time:dgram
rdate 命令支持 IPv6。有关更多信息,请参见 ip6(4P) 手册页。
The protocol used by rdate represents time as an unsigned 32-bit number of seconds ranging from January 1, 1900 to February 7, 2036.The rdate command further restricts this range by not changing the system date to dates prior to December 13, 1983.Another method of time synchronization must be used for dates past the end of this range.
For most purposes, NTP is strongly recommended over this utility.For more information, see the ntpdate(8) and ntpd(8) man pages.
有关下列属性的说明,请参见 attributes(7):
|
ip6(4P), inetd.conf(5), attributes(7), in.timed(8), ntpd(8), ntpdate(8)
将来的 Oracle Solaris 发行版可能会删除此技术。
The rdate command has been present since the initial release of Solaris.