zoukankan      html  css  js  c++  java
  • sed cat 命令

    #检测


    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

  • 相关阅读:
    SRM482
    SRM481
    SRM480
    SRM479
    SRM478
    vue-cli 3 is not a modual err
    .vimrc
    css3 导入字体
    class []的用法
    RK61 Keyboard Use
  • 原文地址:https://www.cnblogs.com/gqv2009/p/12215177.html
Copyright © 2011-2022 走看看