标签:exce sts 图片 time tor bsp sed timeout request
检测
sed ‘/2019-12-16 00:00:00/,/2019-12-16 17:20:00/p‘ /store/logs/goods-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/goods-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/goods-freight-py/taobao/2019-11-27/freight.log | grep "requests.exceptions.ConnectTimeout" | grep "connect timeout=3"|wc -l
cat /store/logs/taobao-goods-price-py/taobaoGoods/2020-01-19/spiderPy.log |grep -E ‘2020-01-19 10 |2020-01-19 12‘ | grep "调用天猫商品爬虫参数" | wc -l
标签:exce sts 图片 time tor bsp sed timeout request
原文地址:https://www.cnblogs.com/gqv2009/p/12215177.html