Bandwidth usage per file

I need to know the exact bandwidth used to server each file,
Does Nginx support this feature?

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,170777,170777#msg-170777

I mean bandwidth used to SERVE file,

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,170777,170781#msg-170781

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/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs