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.

Reseller stats location

Discussion in 'cPanel Developers' started by mohd_007, Jul 3, 2013.

  1. mohd_007

    mohd_007 Well-Known Member

    Joined:
    Sep 22, 2007
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    Hello all

    I'm trying to make a script which would email me the bandwidth and disk space usage of a reseller account... can some body me where on server those are located?? /var/cpanel/bandwidth is very confusing and I'm not getting the pattern.... Help
     
  2. mohd_007

    mohd_007 Well-Known Member

    Joined:
    Sep 22, 2007
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    never-mind guys .. got the answer :) for those who don't know, cpanel doesn't store bandwidth information in a single file and if you try to combine all those file and get the total you would probably go mad.. so use cpanel api.. it's not easy but its worth learning.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  4. mohd_007

    mohd_007 Well-Known Member

    Joined:
    Sep 22, 2007
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
Loading...

Share This Page