摘要: linux下同步时间脚本 #!/bin/bash # ntpd服务器同步时间 ntpd_num=`ps -ef |grep -v grep |grep ntpd |wc -l` if [ ntpd_num = 0 ];then service ntpd restart sleep 3 else nt 阅读全文
posted @ 2018-01-09 10:33 yxy_linux 阅读(25) 评论(0) 推荐(0) 编辑