获取tomcat当天访问频率高的ip并排序

来源:互联网 发布:淘宝店铺简介大全 编辑:程序博客网 时间:2024/06/05 04:00

显示访问次数大于500的

 awk '{print $1}' localhost_access_log.2016-07-21.txt | sort | uniq -c | sort -rn | awk '{if($1>500)print $0}' 
0 0