uniq -c统计次数
[root@rongbiz002 26]# awk '{print $1}' /www/wwwlogs/c2p.rongbiz.com-access_log|sort |uniq -c|sort -k1rn|head
2709 112.64.53.246
2668 120.55.93.127
913 119.45.32.38
653 36.99.136.137
636 36.99.136.136
619 116.227.69.125
570 222.65.154.2
541 139.186.132.190
327 101.224.229.106
323 116.232.5.66