nginx日志中访问最多的100个ip及访问次数
awk '{print $1}' /opt/software/nginx/logs/access.log| sort | uniq -c | sort -n -k 1 -r | head -n 100
2022-10-26 08:13:37
nginx日志中访问最多的100个ip及访问次数
awk '{print $1}' /opt/software/nginx/logs/access.log| sort | uniq -c | sort -n -k 1 -r | head -n 100