2021-12-19 00:00:03|tool.go:93|INFO| xxxxxxxxx costTime:24.336236ms
2021-12-19 00:00:03|tool.go:93|INFO| xx11xxxxxxx costTime:214.336236ms
2021-12-19 00:00:03|tool.go:93|INFO| xxx22xxxxxx costTime:224.336236ms
2021-12-19 00:00:03|tool.go:93|INFO| xxx444xxxxxx costTime:1.221s
2021-12-19 00:00:03|tool.go:93|INFO| xxx33xxxxxx costTime:241.336236ms
2021-12-19 00:00:03|tool.go:93|INFO| xxx555xxxxxx costTime:2.111s
2021-12-19 00:00:03|tool.go:93|INFO| xxx33xxxxxx costTime:241.336236ms
2021-12-19 00:00:03|tool.go:93|INFO| xxx444xxxxxx costTime:2.111s
将时间大于 1s的行找出来
cat costtime_1.log |grep -E "\:[1-9]\.[1-9]+s"
将时间大于 1s的并且不包括“555”的行找出来
cat costtime_1.log |grep -v "555" |grep -E "\:[1-9]\.[1-9]+s"
此博客记录了2021年12月19日的工具运行时间,重点关注那些执行时间超过1秒的请求,如xxx444和xxx555的操作详情。

2676

被折叠的 条评论
为什么被折叠?



