Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    56
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. mohd_007

    mohd_007 Well-Known Member

    Joined:
    Sep 22, 2007
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    56
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. mohd_007

    mohd_007 Well-Known Member

    Joined:
    Sep 22, 2007
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    56
    cPanel Access Level:
    Website Owner
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice