600 47.123.117.80
553 47.123.117.90
548 47.123.117.52
546 47.123.117.72
546 47.123.117.42
544 47.123.117.35
543 47.123.117.39
539 47.123.117.96
539 47.123.117.34
537 47.123.117.49
534 47.123.117.53
534 47.123.117.41
532 47.123.117.68
528 47.123.117.100
527 47.123.117.87
526 47.123.117.69
526 47.123.117.55
525 47.123.117.32
524 47.123.117.91
524 47.123.117.70
752 47.123.117.32
699 47.123.117.82
695 47.123.117.31
689 47.123.117.92
687 47.123.117.52
683 47.123.117.67
682 47.123.117.74
682 47.123.117.65
679 47.123.117.73
678 47.123.117.34
677 47.123.117.91
677 47.123.117.89
671 47.123.117.60
666 47.123.117.28
665 47.123.117.50
664 47.123.117.69
664 47.123.117.35
662 47.123.117.100
661 47.123.117.90
661 47.123.117.61
“Knowing is not enough, we must apply. Willing is not enough, we must do.” 🚢
统计 Nginx 日志(access.log)中的请求量排名前 20 的 IP。 方便判断是否有恶意 IP 请求,或者非正规搜索引擎的爬虫 IP。
$ awk '{print $1}' access.log | sort | uniq -c | sort -rn | head -n 20
累计使用次数:1648