PDA

View Full Version : Is there any script or code to show bandwith use on my site?


Bimmer
11-20-05, 06:09 PM
Is there anything that I can use so that I can put on my site to show how much bandwith I'm using?

If you guys could help me it would be much gratefull and if not that is good as well. Just want to know if it is possible to get such a script or if there is one. :confused:

Thanks :D

extras
11-21-05, 08:10 AM
You can check it in OPS->Pachages->HTTP->Stats
https://ops.powweb.com/?module=packages&submodule=HTTP&service_tab=Usage

Also, please read the sticky thread "Read me Before to post".
http://forum.powweb.com/showthread.php?t=56922

Bimmer
11-21-05, 03:23 PM
Yeah but I meant for my site itself so others could see the bandwith use.

Sorry for not readin the READ ME it was helpfull with other things though :D

Thanks !

extras
11-22-05, 11:56 AM
I don't think showing your bandwidth to public is a bad idea.
Imagine if someone wants to shut down your site, s/he will know how far to go to cause
bandwidth limit related site shut down.

If you insist, you can modify this script.
http://forum.powweb.com/showthread.php?t=49501

Bimmer
11-22-05, 04:40 PM
No good idea you give me that point.

Thanks extras :D

Is there any script you know to limit downloads after 8GB?

extras
11-23-05, 09:05 AM
Oops. I typed "good idea", and then somehow edited it later to "bad idea" without removing "don't" ...

I didn't make ready-made automatic cut off system, because if someone really needs something like that,
I think it's time to consider moving to dedicated server or higher-end VPS or anything with bigger BW.

And it's easy to do by yourself.
You can use the modified version of bw.cgi in crontab, every 10 minutes, for example,
which would shut down the site when it goes over certain number,

Bimmer
11-23-05, 03:09 PM
I know I want to keep just the main site on powweb because I really like powweb and buy a box just for my files but I don't have the funds as of yet so I thought a script would help out. I don't know how to mess with bw.cgi.

extras
11-24-05, 10:00 AM
Well, if you can't or don't want to do it by yourself,
you have the choice of hiring someone or waiting for more help, as usual.

You can try PowWebLance, too. :)
http://freelance.powweb.com/