命令:cat access.log |awk \'{ipArr[$1]++} END{for( item in ipArr) print item,ipArr[item]}\' | sort -r -k 2 | head -n 10 相关文章: