awk '{print $10}' access_www.log | awk '{a+=$1}END{print a}' 转载于:https://blog.51cto.com/jinchuang/1882207