1. 论坛系统升级为Xenforo,欢迎大家测试!
    排除公告

写一句脚本,分析apache的access.log,得出访问量最高文件前5名

本帖由 notnull2006-11-06 发布。版面名称:主机讨论

  1. notnull

    notnull New Member

    注册:
    2005-09-27
    帖子:
    11,720
    赞:
    37
    :mummy:

    谁写来看看
     
  2. ym0723

    ym0723 New Member

    注册:
    2008-05-05
    帖子:
    1
    赞:
    0
    cat access.log | awk '{print $7}' | sort | uniq -c | sort -rn | head -5
     
  3. wzs521

    wzs521 New Member

    注册:
    2008-05-23
    帖子:
    14
    赞:
    0
    不会写,但顶
     
  4. webren

    webren New Member

    注册:
    2008-09-06
    帖子:
    2,934
    赞:
    0
    我来也.
     
  5. wwwewidccn

    wwwewidccn New Member

    注册:
    2008-10-02
    帖子:
    43
    赞:
    0
    :lol:不会 支持下