1,访问日志access.log 统计IP 和每个地址访问的次数,按访问量列出前10 名。

cat *.log |awk '{print $1}'|uniq -c|sort -rn|head -10