摘要:
在对日志信息进行实时监控分析时,需要对日志中纳秒级的时间进行计算,逻辑比较简单:找出开始时间、结束时间,遇到结束时间后输出时间间隔。 日志中的部分数据如下: 2016-01-30 19:37:30 1454153850967748663 remove alive file 2016-01-30 19 阅读全文
摘要:
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 阅读全文