hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Software and Control Panels : Need a script to measure the bandwith usage!
Reply

Hosting Software and Control Panels Software used in the web hosting industry. Topics include control panels, add-on software, setup scripts, etc.
Forum Jump

Need a script to measure the bandwith usage!

Reply Post New Thread In Hosting Software and Control Panels Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-17-2002, 02:51 PM
important important is offline
WHT Addict
 
Join Date: Dec 2001
Posts: 128
*

Need a script to measure the bandwith usage!


Need a script to measure bandwith usage per directory for a server running windows 2K. Its URGENT, all kind of help is greately appreciated

Reply With Quote


Sponsored Links
  #2  
Old 03-19-2002, 10:43 AM
important important is offline
WHT Addict
 
Join Date: Dec 2001
Posts: 128
Angry So, i think no one knew about it... damn

This bandwith measurement really sucks, is there any free control panel which measures bandwith, so i can take a look at the script and see how its done. And then i can write one by myself. But something to let me get an idea about it.
If any of you people got idea, how this bandwith measurement works, please let me know

Reply With Quote
  #3  
Old 03-19-2002, 02:14 PM
vselvara vselvara is offline
Junior Guru
 
Join Date: Dec 2001
Location: Northern Virginia
Posts: 238
Most of those bandwidth monitoring scripts look at the web logs and add up the size of files served within a specific period of time. This is not a very accurate way to do it. The best way to do it is by server using a switch that supports SNMP. Then you can use MRTG to graph stats for each port (server).

Many control panels add bandwidth monitoring, I decided not to add bandwidth monitoring to a control panel I have been working on because there is no accurate way to do it.

__________________
Two Way Walkie Talkie App

Reply With Quote
Sponsored Links
  #4  
Old 03-19-2002, 03:08 PM
jkca jkca is offline
WHT Addict
 
Join Date: Aug 2001
Posts: 116
Analog can do this fairly easily, it works both NT and Unix, however you need to keep in mind that you need to parse through 3 set of logs to get an accurate picture, of course the HTTP and FTP logs, but also there are some sneaky people out there who access their website via IP, which you then have to parse out of the system log an accounts stats by pathname

Reply With Quote
  #5  
Old 03-19-2002, 06:21 PM
ziki ziki is offline
Newbie
 
Join Date: Mar 2002
Location: Belgium
Posts: 18

Reply With Quote
  #6  
Old 03-19-2002, 11:44 PM
Neo3Net Neo3Net is offline
Web Hosting Master
 
Join Date: Mar 2002
Location: New York
Posts: 1,700
Check Out Web.CP I think they have a BW measuring script in there.

http://webcp.can-host.com


Reply With Quote
  #7  
Old 03-20-2002, 12:04 AM
jmcmike jmcmike is offline
Junior Guru Wannabe
 
Join Date: Nov 2001
Posts: 59
If you're looking to limit the BW usage by a particular set of files...

I wrote a download script in Perl some time ago that adds the bytes of every download to a running total and denies the download if your threshold is exceeded.

Combine this with referral protection and you've got leech protection with badnwidth limits.

PM me if this is what you're looking for.

__________________
Justin McMichael
Tech Fidelity, LLC

Reply With Quote
  #8  
Old 03-20-2002, 04:30 AM
important important is offline
WHT Addict
 
Join Date: Dec 2001
Posts: 128
Quote:
Originally posted by jkca
Analog can do this fairly easily, it works both NT and Unix, however you need to keep in mind that you need to parse through 3 set of logs to get an accurate picture, of course the HTTP and FTP logs, but also there are some sneaky people out there who access their website via IP, which you then have to parse out of the system log an accounts stats by pathname
Hum, where i can get analog ?

Reply With Quote
  #9  
Old 03-20-2002, 11:01 AM
jkca jkca is offline
WHT Addict
 
Join Date: Aug 2001
Posts: 116
Take a look at http://www.analog.cx/

Reply With Quote
  #10  
Old 03-20-2002, 05:59 PM
important important is offline
WHT Addict
 
Join Date: Dec 2001
Posts: 128
thanks, analog is a good one, probably rewriting of script is required to suit my needs

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Pingdom Talks Top Web Hosting Cities and Countries Web Hosting News 2013-03-27 18:49:54
Open Data Center Alliance Adds Frameworks for Software Entitlement, Data Security Web Hosting News 2013-03-14 15:33:01
Reporting Failures Derailing US Federal Data Center Consolidation: GAO Report Web Hosting News 2012-07-23 11:11:22
Control Panel cPanel Launches New Apache Configuration Script Web Hosting News 2011-12-28 19:41:39
Web Host Bluehost Launches Reseller Hosting Web Hosting News 2011-10-14 15:16:37


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?