Favorite tool to measure bandwith usage by domain
I have a set up with Centos and Apache and a few virtual servers. Linode gives me my total bandwith usage.
What would be the best way to know the consumption of bandwith per domain?
Thanks!
4 Replies
@jcr:
Hello.
I have a set up with Centos and Apache and a few virtual servers. Linode gives me my total bandwith usage.
What would be the best way to know the consumption of bandwith per domain?
Thanks!
Setup a stats package like awstats
I am wondering if there is a way to avoid analyzing the Apache's log file.
@jcr:
Thanks for the answer.
I am wondering if there is a way to avoid analyzing the Apache's log file.
I don't think so, since the division between domains isn't happening until you get to apache.
i used that to work out domain usage for ages.. just wrote a few triggers that on insert into the logtable update the usage table and then purge the log table daily..
just gota be careful with it because if your database starts slowing down for whatever reason, apache will lag as well.