Welcome! Log In Create A New Profile

Advanced

Re: Bandwidth usage per file

Liu Lantao
January 30, 2011 07:52PM
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
Subject Author Posted

Bandwidth usage per file

goles January 30, 2011 06:22AM

Re: Bandwidth usage per file

goles January 30, 2011 06:40AM

Re: Bandwidth usage per file

Liu Lantao January 30, 2011 07:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 177
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready