日志格式样例如下

192.168.1.247  -[02/Jul/2010:23:44:59 +0800] GET / HTTP/1.1 200 19

命令写法

cat access_log | awk {print $1}‘ | uniq-c|sort -rn|head -10