标签:txt int sort 访问 log head cut nginx access
cat access.log | awk ‘$4 >="[22/Jun/2018:11:41:00" && $4 <="[22/Jun/2018:11:43:00"‘ > 1.txt # 日志截取awk ‘{print $4}‘ access.20181124.log |cut -c 14-18|sort|uniq -c|sort -nr|head -n 100 >zuigao.txt # 每分钟最高访问量
标签:txt int sort 访问 log head cut nginx access
原文地址:https://blog.51cto.com/13594742/2406675