nginx 查看每秒有多少訪問量?
nginx訪問量統計 1.根據訪問IP統計UV awk '{print $1}' access.log|sort | uniq -c |wc -l 2.統計訪問URL統計PV awk '{print $7}' access.log|wc -l 3.查詢訪問最頻繁的URL awk '{print $7}' access.log|sort | uniq -c |sort -n -k 1 -r|more 4.查詢訪問最頻繁的IP awk '{print $1}' access.log|sort | uniq -c |sort -n -k 1 -r|more 5.根據時間段統計查看日志 cat access.log| sed -n '/14\/Mar\/2015:21/,/14\/Mar\/2015:22/p'|more
http://blog.csdn.net/lupeng0206/article/details/59105790