摘要: Linux下的时间详解[转载]http://www.fangshanzi.com/linux-time-function-detail/1、首先来总结一下hwclock,这个容易晕:1)/etc/sysconfig/clock 文件,只对 hwclock 命令有效,且只在系统启动和关闭的时候才有用(修改了其中的 UTC=true 到 UTC=false 的前后,执行 hwclock (–utc, 或 –localtime) 都没有变化,要重启系统后才生效);2)/etc/rc.d/rc.sysinit 文件,run once at boot time,其中有从硬件时钟同步时间到系统时间的操作; 阅读全文
posted @ 2013-01-10 23:27 步天有术 阅读(389) 评论(0) 推荐(0) 编辑