Bandwidth usage per file
Liu Lantao
liulantao at gmail.com
Mon Jan 31 03:49:01 MSK 2011
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 at 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 at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
--
Liu Lantao
EMAIL: liulantao ( at ) gmail ( dot ) com ;
WEBSITE: http://www.liulantao.com/portal .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20110131/6230a34f/attachment.html>
More information about the nginx
mailing list