摘要: 在对日志信息进行实时监控分析时,需要对日志中纳秒级的时间进行计算,逻辑比较简单:找出开始时间、结束时间,遇到结束时间后输出时间间隔。 日志中的部分数据如下: 2016-01-30 19:37:30 1454153850967748663 remove alive file 2016-01-30 19 阅读全文
posted @ 2016-01-31 00:35 goooogs 阅读(632) 评论(0) 推荐(0) 编辑
摘要: find手册中对time的解释:以 atime 为例: -atime n File was last accessed n*24 hours ago. When find figures out how many 24-hours periods ago the file was last acce 阅读全文
posted @ 2014-06-20 10:52 goooogs 阅读(590) 评论(0) 推荐(0) 编辑