Thanks...I'll ask in the apache list too. :)
Much appreciated. J
On 17 Dec 2003, at 23:10, Ben Yau wrote:
Jamie, you may get a better answer from the apache mailing list (apache.org).
Anyway, I had to do something similar a few years ago and what I did was
make a custom logging format and included information to log the bytes
transferred. From there it's just writing a perl or shell script to total
up bytes transferred for each of the users you have.
I just looked at the apache docs and it looks like you can use
%b (uses a "0" when no bytes are sent) or %B (uses a "-" when no bytes are sent)
to log transfer sizes in your access_log
Hope that at least points you in the right direction
Cheers - Ben Y.
== Original Message Follows == Hi everyone...
I've been struggling to come to a conclusion for this problem I need to solve, and would appreciate all help i can get.
This may be an apache specific problem, but I'm not convinced. I have a website that I have registered members on. I want to offer them a directory each (To them it will just be a place they can keep files), but I need to monitor the amount of bandwidth that each of these members uses. E.g. Paul registers, uploads some files to his directory, and it's 1mb. 5 people download it. Therefore 5mb bandwidth was used...I need to know this. e.g. If someone starts a download, and then cancels it after 100k, I need to know they didn't download it all...so a per click basis won't work.
A kick in the right direction would be very useful too. I've been trawling through irrelevant sites looking for info, and have hit a nil.
THanks in advance. Jamie
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list