qq70191 发表于 2018-11-18 07:12:43

Statistics access traffic of apache logs

  #! /bin/bash
sum=0
exec /dev/null
if [ $? -ne 0 ];then
continue
fi
((sum=sum+size))
done
echo "The total byes=echo $((${sum}/1024))"



页: [1]
查看完整版本: Statistics access traffic of apache logs