sed -n '/2020-11-14 00:00:00/,/2020-11-15 10:00:00/p' /home/xiaoju/data1/logs/biz.log |grep 'consumer/share_activity/receive' | grep _com_request_out | grep 776797241399050240 | wc -l
linux中按照时间段过滤
最新推荐文章于 2023-01-18 14:55:16 发布
sed -n '/2020-11-14 00:00:00/,/2020-11-15 10:00:00/p' /home/xiaoju/data1/logs/biz.log |grep 'consumer/share_activity/receive' | grep _com_request_out | grep 776797241399050240 | wc -l