Measuring Apache bandwidth from a bash script

So reason : double checking Sawmill and AWstats.

(sawmill won..)

echo “$(awk ‘{print $10}’ prd.logs | grep -v “-” | paste -sd + – | bc )/1024/1024/1024″ | bc

result is in GB.

nJoy;

 

Write a Reply or Comment

Your email address will not be published.