#检测
sed '/2019-12-16 00:00:00/,/2019-12-16 17:20:00/p' /store/logs/freight-py/taobao/2019-12-16/freight.log | grep " 耗时:"
#总请求:
sed '/2019-11-27 00:00:00/,/2019-11-27 17:20:00/p' /store/logs/freight-py/taobao/2019-11-27/freight.log | grep " 耗时:" | wc -l
#超时:ConnectTimeout
sed '/2019-11-27 00:00:00/,/2019-11-27 17:20:00/p' /store/logs/freight-py/taobao/2019-11-27/freight.log | grep "requests.exceptions.ConnectTimeout" | grep "connect timeout=3"|wc -l
sed '/2020-06-11 21:59:00/,/2020-06-11 22:01:00/p' /store/logs/rob_shoes_py/SNKRS/2020-06-11/spiderPy.log | grep 'app 预售列表解析datas_list:' | grep 'CQ3989-001'
cat /store/logs/price-py/Goods/2020-01-19/spiderPy.log |grep -E '2020-01-19 10 |2020-01-19 12' | grep "调用商品爬虫参数" | wc -l