The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Total reseller bandwidth script

Discussion in 'General Discussion' started by SplashHost.com, Sep 23, 2001.

  1. SplashHost.com

    SplashHost.com Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    I have wrote a script that calculates the total amount of bandwidth a reseller is using,

    e.g http://www.splashhost.com/reseller.pl

    Does anyone know where the files are that store the amount of disk space a user is using so i can incorporate that in as well.
     
  2. Brian Farkas

    Brian Farkas Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    I get a 403 on the script..
    As far as the diskspace goes, I think cpanel just measures the total space of the files in the /home/username directory (provided those files are set to the proper ownership)
     
  3. SplashHost.com

    SplashHost.com Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6
    Oops, i just messed up my site. I suppose ill just have to do the same.
     
  4. Reuben

    Reuben Active Member
    PartnerNOC

    Joined:
    Aug 12, 2001
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Your entire slashhost.com site seems to be down, just so you know. I\'m getting a 403 on your main site as well.

    I\'d probably just doing a du -s /home/user to calculate the disk space usage.
     
  5. Kylecool

    Kylecool Well-Known Member

    Joined:
    Aug 17, 2001
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    That script is working fine for me now on RR In Southern Ca. :)

    -Kyle
     
  6. SplashHost.com

    SplashHost.com Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6
    Just to let everyone know ive found out how to do it :)
     
  7. Reuben

    Reuben Active Member
    PartnerNOC

    Joined:
    Aug 12, 2001
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Would you be willing to make the scripts accessible to us too?
     
  8. SplashHost.com

    SplashHost.com Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6
    Im not sure, it took a fair amount of work to getting it working properly, i might sell it if people are interested.

    As you can see ive got the disk space working as well now :D

    [Edited on 9/24/01 by SplashHost.com]
     
  9. Domenico

    Domenico Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    362
    Likes Received:
    0
    Trophy Points:
    16
    Oh man, throw it in for all of us.
    The OS your boxes run on are free too...

    :-(
     
  10. besta

    besta Member

    Joined:
    Aug 15, 2001
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    [quote:c89666a225]Im not sure, it took a fair amount of work to getting it working properly, i might sell it if people are interested.

    As you can see ive got the disk space working as well now :D

    [Edited on 9/24/01 by SplashHost.com] [/quote:c89666a225]

    Does it monitor bandwidth such as FTP, email, telnet traffic for name-based account?? I might be interested of buying your script. Please feel free to contact me.
     
  11. Domenico

    Domenico Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    362
    Likes Received:
    0
    Trophy Points:
    16
    Too bad some people allways spoil the party :-(
     
  12. nate

    nate Member

    Joined:
    Sep 10, 2001
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    if the bandwidth is all inclusive (not just http) then let me know a price...

    i am very interested.
     
  13. SplashHost.com

    SplashHost.com Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6
    I wish it was, it just uses the same bandwidth stats as cpanel. If you know a program that shows up how much bandwidth each name based domain ill be happy to try and build it in.
     
Loading...

Share This Page