I have a module to measure the bandwidth of based of the *accounting_id* set
in the config file.
http {
http_accounting on;
.....
server / {
......
location /path/to/myfile {
http_accounting_id "myfile";
....
}
}
}
the result is write to syslog device, you may filter the result in syslog.
get the code from google code(
http://code.google.com/p/ltliu-ngx-http-accounting-module),
or github(http://github.com/Lax/ngx_http_accounting_module)
http://code.google.com/p/ltliu-ngx-http-accounting-module/
On Sun, Jan 30, 2011 at 7:40 PM, goles <nginx-forum@nginx.us> wrote:
> I mean bandwidth used to SERVE file,
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,170777,170781#msg-170781
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
--
Liu Lantao
EMAIL: liulantao ( at ) gmail ( dot ) com ;
WEBSITE: http://www.liulantao.com/portal .
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx