![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Sep 2002
Posts: 3,626
|
*Nix Utility for monitoring total bw usage (monthly)?
hi fellow webmasters, i am in need of a utility that i can install on our server that will monitor the total amount of bandwidth burned for a monthly period (in gigabytes)... we currently pay a flat fee for a 20Mb/s capped line, and are not sure if we are getting the great deal we think we are.
we'd like to see what the total of used bandwidth is to calculate whether we should just be buying uncapped bw from now on, so any information about this would be great... we are running freeBSD on our co-lo, btw... thx all..! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Mar 2001
Location: Principality of Sealand
Posts: 2,033
|
bandmin
Btw bud you never icqed me about your questions. I have time now, hit me up 91603384 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jan 2002
Location: Mountains of Western North Carolina.
Posts: 4,027
|
Your host isn't supplying you with mrtg stats ?
If not you may want to talk to me ... if they cannot prove your bandwidth how are they billing you? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Oct 2001
Location: Scottsdale :)
Posts: 2,188
|
yep mrtg graph tells you want you need
Do they tell you if you cap out ever? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Join Date: Aug 2001
Location: In a Bunker
Posts: 868
|
Quote:
chupacabra, there are many ways to measure bandwidth usage. MRTG is one of the good ones and is relatively easy to setup, you might even be able to setup it on your server if your host gives you access to the switch. You could use the Apache logs, but these tend to be off by 10% or more, same with bandmin. There are also some Apache modules you could try using and although these allow you to do some interesting things (cap bandwidth per site/directory/file/file type/local user/remote user/IP/referral etc.) they are also somewhat off compared to the actual bandwidth. If you need some help setting it up or would like to know more about some of the amazing things that can be done on a dedicated server related to bandwidth management, feel free to contact me.
__________________
Does anyone look down here? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
OG
Industry Role:
Join Date: May 2002
Posts: 3,308
|
u burning that much bw you should have ALL tools available to you from your host!
__________________
M3server.com VPS>Get your 2nd month free Ded>$100 off your 2nd month since 1996 icq-25135623 dannyh at~m3server DOT com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Aug 2002
Location: East Coast.
Posts: 2,251
|
HotSaNIC works great too. I like that a lot.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: Jan 2002
Location: In the walls of your house.
Posts: 3,985
|
Quote:
to see how much bandwidth you're using. Try reading the file /proc/net/dev You should see how many bytes were sent in and out on each of your network devices. You can either configure mrtg to use that info, or write your own script to do the calculations.
__________________
"Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats." --H.L. Mencken |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | ||
Confirmed User
Join Date: Aug 2001
Location: In a Bunker
Posts: 868
|
Quote:
![]() Quote:
__________________
Does anyone look down here? |
||
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Registered User
Join Date: Sep 2002
Location: Hollywood, FL
Posts: 37
|
Depending on your kernel version, try:
ifconfig eth0 eg. [root@plain root]# ifconfig eth0 Link encap:Ethernet HWaddr 00:13: DE:31:61:31 inet addr:x.x.x.x Bcast:x.x.x.x Mask:255.255.254.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:14003481 errors:0 dropped:0 overruns:0 frame:0 TX packets:4449232 errors:0 dropped:0 overruns:7 carrier:0 collisions:0 txqueuelen:100 RX bytes:3443282835 (3283.7 Mb) TX bytes:3747839100 (3574.2 Mb) Last 2 lines are probably (maybe : ) what you want. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: Oct 2002
Location: the Netherlands
Posts: 268
|
Robert,
Those ifconfig stats you show actually roll over at 4 GB, so they are not very useful if you want to see how much GB's you transfer in total. They can be used if you read them regularly (every 10 minutes or so) and use the resulting data with something like MRTG though. Greetings, Art |
![]() |
![]() ![]() ![]() ![]() ![]() |