tail实例

2015-12-08

tail -1000 $log_path/access.log |grep -v log|grep 12345 \
| egrep $con | awk '{print $1,$7}'\
| awk '{print $1}' |sort|uniq -c|sort -rn \
| awk '{if($1>0)print $2}' >> ips.txt

分类:Linux | 标签: |

相关日志

评论被关闭!