Re: Bandwidth Monitoring per Directory

From: Jamie (redhat_at_a-bloke.com)
Date: 12/18/03

  • Next message: Ian Mortimer: "Re: password confirmation"
    To: redhat-list@redhat.com
    Date: Wed, 17 Dec 2003 23:49:05 +0000
    
    

    Getting there yes. :) I could filter out the user id from the file
    they download.
    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@redhat.com?subject=unsubscribe
    > https://www.redhat.com/mailman/listinfo/redhat-list
    >

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Ian Mortimer: "Re: password confirmation"

    Relevant Pages

    • Re: IE cannot open MS Office files over SSL connection, no problem in Firefox
      ... > I have a secured web environment running Apache 1.3.33 and Tomcat 5.5.9 ... > These users can download any other types of files from this page (i.e. ... standards-compliant implementation of TLS that does not fail when extensions ...
      (comp.lang.java.help)
    • RE: Bandwidth Monitoring per Directory
      ... you may get a better answer from the apache mailing list ... a website that I have registered members on. ... bandwidth was used...I need to know this. ... download, and then cancels it after 100k, I need to know they didn't ...
      (RedHat)
    • IE cannot open MS Office files over SSL connection, no problem in Firefox
      ... involves IE, Word Documents, Apache, Tomcat etc, but here goes... ... I have a secured web environment running Apache 1.3.33 and Tomcat 5.5.9 ... These users can download any other types of files from this page (i.e. ...
      (comp.lang.java.help)
    • "copy" from File::Copy fails but returns success
      ... The CGI program, running under Apache, supports download of a file from a Linux server running Perl 5.8.6. ... The files are stored compressed, so the download program first copies the compressed file to a temporary directory, then uncompresses it and handles the HTTP for the download. ... If you think it's a Linux or Apache configuration problem then please say so and I'll take this to the relevant group; but this code worked a few weeks ago and I've not touched the Apache configuration since. ...
      (comp.lang.perl.misc)
    • File Corruption
      ... I originally posted this question to the Apache list and was strongly ... This server is dedicated to hosting files for download through http ... I googled and searched the lists but have only found tips regarding speeding ...
      (freebsd-questions)