SHELL随笔 日志条目时间比较
摘要:
背景 提供DLL函数给客户调用。为了方便调试,每个函数被调用时都会写一条日志。状态函数调用间隔为2s。 日志格式 2014:03:04 06:04:06 [Interface.cpp:Function1:100] doing ...... 2014:03:04 06:04:07 [Interface.cpp:Function2:100] doing ......需求 检查函数调用间隔时间是否大于2s。实现 使用以下shell脚本 #! /bin/sh ... 阅读全文
posted @ 2014-03-04 17:50 黄色的泥塘 阅读(589) 评论(0) 推荐(0)
浙公网安备 33010602011771号