I need to know the exact bandwidth used to server each file,
Does Nginx support this feature?
Posted at Nginx Forum:
I need to know the exact bandwidth used to server each file,
Does Nginx support this feature?
Posted at Nginx Forum:
I mean bandwidth used to SERVE file,
Posted at Nginx Forum:
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(
Google Code Archive - Long-term storage for Google Code Project Hosting.),
or github(GitHub - Lax/traffic-accounting-nginx-module: Monitor the incoming and outgoing traffic metrics in realtime for NGINX)
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs