访问前十的URL(可以用来分析网站哪个模块最受欢迎)

awk ‘{print $7}’ www.xxwan.com.log | sort | uniq -c |sort -nr -k 1|head -10

1595483 /games/search_game.php?type=game&k=1?21jhgf
833639 /games/search_game.php?type=game&k=#$csd!
734697 /games/card.php?gid=366
75786 /games/search_game.php?type=game&k=w2qsdw
31686 /games/card.php?gid=518
6367 /bbs/uc_server/index.php?__times__=1
2387 /upimg/a/1479719869638.jpg
2042 /
1673 /upimg/images//1524216154946.jpg
1647 /upimg/images//1486691754833.jpg

 

 

发表评论

电子邮件地址不会被公开。 必填项已用*标注