Jump to content

Recommended Posts

Posted

Hi there,

 

I have decided to offer a graphical/ textual report on the amount of bandwidth a customer has used so far in that given month.

 

Just like the one avaliable to us in the cpanel. But i want it external to the cpanel.

 

So my question is really, which files on the server do i need to reference in order to calcualte bandwidth usage.

 

With this information, i can get into some heavy duty php writing. Any thoughts ??

 

Take Care

G_N

Posted

Sorry, should give you a clarification.

I would like to know the path name to the Raw access logs.

 

That way i can then, do some calulations in order to work out how much bandwidth has been used in that month.

 

Thanks for your time

  • 4 weeks later...
Posted
You can download your raw access logs using cPanel.

 

I wrote a perl script that does a nice snapshot of web usage in the past few hours, using

the daily access.log file.

 

In order to work, I need a path to the daily access.log file on the server. It's a pain-in-the-butt to

have to download the monthly access.log file each time I want to check my stats for the last few

hours, and I don't like having to wait til midnight for AwStats to update.

 

Is downloading truly the only way we can get access to the raw file?

 

Thanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...