通过一下脚本,筛选出排名前十的ipawk '{print $1}' /u01/nginx/logs/access.log | sort -n |uniq -c | sort -rn | head -n 10