服务器时间同步

[root@52game ~]# /usr/sbin/ntpdate time.nist.govide

23 Jan 22:27:50 ntpdate[1043]: step time server 64.90.182.55 offset 8.762542 secserver


定时同步同步

[root@52game ~]# echo '*/5 * * * * /usr/sbin/ntpdate time.nist.gov >> /dev/null 2>&1' >/var/spool/cron/rootit


date修改时间class

date -s '2015/12/30 11:23:20'cli

同步到hwclock
date

hwclock --systohcfile


加在文件描述符queue

[root@52game cron]# echo '         -          nofile           65535 ' >>/etc/security/limits.confim


定时清理clientmaqueue目录垃圾文件防占满磁盘空间

相关文章
相关标签/搜索