Guest User

Untitled

a guest
Aug 18th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. cat /var/log/apache2/access.log | awk '{BSUM+=$11; if($12 > 0){SUM+=$11/$12;n++;}}END{print BSUM/1024/1024/1024 " G sent"; if (NR > 0) print SUM / n / 1024 " avg kb/s"}'
Add Comment
Please, Sign In to add comment