I run a server that hosts several small rails apps, and I want to track how much bandwidth each is using.
They are all running on Apache 2.2 and Passenger 3.
I used mod_cband
for static sites, but this doesn't seem to work with passenger.
Is there a good way to track the bandwidth used by different apps? All I need is a breakdown of GB used - no graphs or hooks or API.
Thanks!
in the httpd.conf file, if you have your CustomLog set to "combined" (which includes %I and %O for in/out sizes) then it tells you the size of each request.
to get all in/out, run:
to get just a specific app, you could run: