- 11
- 0
- 约1.09万字
- 约 9页
- 2017-05-13 发布于贵州
- 举报
Linux时间同步ntpd,ntpdate-简单设置
linux时间同步,ntpd、ntpdate
在Windwos中,系统时间的设置很简单,界面操作,通俗易懂。而且设置后,重启,关机都没关系。系统时间会自动保存在Bios的时钟里面,启动计算机的时候,系统会自动在Bios里面取硬件时间,以保证时间的不间断。
??? 但在Linux下,默认情况下,系统时间和硬件时间,并不会自动同步。在Linux运行过程中,系统时间和硬件时间以异步的方式运行,互不干扰。硬件时间的运行,是靠Bios电池来维持,而系统时间,是用CPU tick来维持的。
??? 在系统开机的时候,会自动从Bios中取得硬件时间,设置为系统时间。
?
一.Linux系统时间的设置
??? 在Linux中设置系统时间,可以用date命令:
//查看时间
[root@localhost ~]# date2008年 12月 12日 星期五 14:44:12 CST
//修改时间[root@localhost ~]# date --set 1/1/09 00:01 == (月/日/年时:分:秒)2009年 01月 01日 星期四 00:01:00 CST
//date 有几种时间格式可接受,这样也可以设置时间:
[root@localhost ~]# date 012501012009.30? == 月日时分年.秒2009年 01月 25日 星期日 01:01:30 C
您可能关注的文档
- Internatinal Cooperation.doc
- internatinal business travel.doc
- Internatinal Marketing Plan 国际营销.doc
- internatinal marketing-Market Selection.docx
- Internatinal Marketing.doc
- internatinal marketing9 international marketing strategy.doc
- internatinal marketing-Environment3.doc
- Internatinal_Business_Strategy_Mod_Spec.doc
- internatinal marketing-Introduction7.doc
- Intersil SL85033双路3A(单路6A)降压电源解决方案.docx
原创力文档

文档评论(0)