# Vhost Bandwidth

**URL:** <https://www.ruby-forum.com/t/vhost-bandwidth/219401>\
**Category:** NGINX\
**Created:** [May 2, 2012, 3:14am UTC](https://www.ruby-forum.com/t/vhost-bandwidth/219401 "2012-05-02T03:14:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [May 2, 2012, 3:14am UTC](https://www.ruby-forum.com/t/vhost-bandwidth/219401/1 "2012-05-02T03:14:38Z")

</div>

Hello All,

Before I try to reinvent the wheel, I must ask the community:

Is there was an easy way to track vhosts bandwidth and dump it to a  
_MySQL_  
database?

Thanks in advance.

Regards,

Justin D. [http://www.twitter.com/jdorfman](http://www.twitter.com/jdorfman)

NetDNA [http://www.netdna.com](http://www.netdna.com)  
The Science of Acceleration

---

<div class="post-metadata">

**Author:** ![jmadtech](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7cd45c/32.png) [@jmadtech](https://www.ruby-forum.com/u/jmadtech)\
**Post date:** [May 2, 2012, 3:27am UTC](https://www.ruby-forum.com/t/vhost-bandwidth/219401/2 "2012-05-02T03:27:06Z")

</div>

> Before I try to reinvent the wheel, I must ask the community:
> 
> Is there was an easy way to trackvhosts bandwidth and dump it to  
> aMySQLdatabase?

access\_log for bandwidth and a tiny perl script for processing it
