摘要:
编写程序testtime.c #include <stdio.h> //这个头一定要加 #include<time.h> main() { time_t timep; time (&timep); printf("%s",ctime(&timep)); } 前提已安装gcc [root@fp-mys 阅读全文
posted @ 2022-03-09 14:11
jinzi
阅读(411)
评论(0)
推荐(0)
摘要:
系统采样,本采样和命令都是在centos6.4的系统中进行 主要比较centos7和centos6之间的差异,因为大部分都开始采用centos7但是有些老系统还采用centos6,这样我们就需要熟悉centos6下的时间处理的方法。 这里讲解ntpd和ntpdate两个服务的区别和使用方法,注意他们 阅读全文
posted @ 2022-03-09 11:07
jinzi
阅读(2331)
评论(0)
推荐(0)

浙公网安备 33010602011771号