摘要: 处理一个比较大的日志,1.2G$du -h access.log1.2G access.log第一个脚本$time awk '{print $1}' access.log | sort | uniq -c | sort -nr | head -10 130536 218.75.54.156 128416 116.10.195.227 125060 222.133.50.154 117380 219.234.249.139 99588 124.128.25.147 86816 218.75.54.154 84888 123.151.148.185 77768 218.58.228 阅读全文
posted @ 2013-06-22 23:48 sunsweet 阅读(170) 评论(0) 推荐(0) 编辑