0
- [root@aliyun-63 httpd]# awk -F '[ :]' '$5>9,$5<13 {print $1}' access_log-20160215 | sort | uniq -c | sort -nr | head -1
- 1457 61.136.145.44
- [root@aliyun-63 httpd]#
0
grep --color '11/Mar/2016' /usr/local/nginx/logs/access.log |awk -F: '$2>12 && $2<15 {print $1}'|awk -F - '{print $1}' |sort |uniq -c
编辑回复