命令统计apache或nginx日志中访问最多的100个ip及访问次数,这个在以前做日志统计的时候经常用到

awk '{print $1}' 日志地址 | sort | uniq -c | sort -n -k 1 -r | head -n 100