nginx访问量统计1.根据访问IP统计UVawk '{print $1}' access.log|sort | uniq -c |wc -l2.统计访问URL统计PVawk '{print $7}' access.log|wc -l3.查询访问最频繁的URLawk '{print $7}' access.log|sort | uniq -c |sort -n -k 1 -r|more4.查询访问最频繁的IPawk '{print $1}' access.log|sort | uniq -c |sort -n -k 1 -r|more5.根据时间段统计查看日志 cat access.log| sed -n '/14\/Mar\/2015:21/,/14\/Mar\/2015:22/p'|more http://blog.csdn.net/lupeng0206/article/details/59105790