Mar 14 2008

还是ip统计。。。

Category: 技术ssmax @ 09:55:29

昨晚小汪子过来,看见偶统计ip的程序,说。。。其实一行就可以做到了。。。

cat access_log|awk ‘{print $1}’|sort |uniq -c|sort -nr

 狂晕ing,对linux命令还是不熟悉啊。。。

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.