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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-22-2002, 06:57 PM   #1
chupacabra
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..!
chupacabra is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 06:58 PM   #2
m0rph3us
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

Last edited by m0rph3us; 10-22-2002 at 07:00 PM..
m0rph3us is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 07:00 PM   #3
JFPdude
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?
JFPdude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 07:06 PM   #4
heymatty
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?
__________________

Cashlantis ~ Black Book Cash
heymatty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 07:10 PM   #5
RK
Confirmed User
 
Join Date: Aug 2001
Location: In a Bunker
Posts: 868
Quote:
Originally posted by JFPdude
If not you may want to talk to me ... if they cannot prove your bandwidth how are they billing you?
It appears they bill based on a cap line, 20 Mb/s as chupacabra mentioned so there is no need to show how many GB have been transferred.

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?
RK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 07:19 PM   #6
dantheman
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
dantheman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 08:16 PM   #7
Dusen
Confirmed User
 
Join Date: Aug 2002
Location: East Coast.
Posts: 2,251
HotSaNIC works great too. I like that a lot.
__________________
Penis Pill Sponsor List and Reviews:
http://www.pillsponsors.com
Dusen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 08:17 PM   #8
NetRodent
Confirmed User
 
Join Date: Jan 2002
Location: In the walls of your house.
Posts: 3,985
Quote:
Originally posted by RK

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.
If you have your own server, you don't need access to the switch
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
NetRodent is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 08:26 PM   #9
RK
Confirmed User
 
Join Date: Aug 2001
Location: In a Bunker
Posts: 868
Quote:
Originally posted by NetRodent


If you have your own server, you don't need access to the switch
to see how much bandwidth you're using. Try reading the file /proc/net/dev
You are right, but you have to admit setting up MRTG to use basic SNMP with default config is much easier than reading and interpreting /proc/net/dev Also using the switch data will save a little bit of resources on the server and might be slightly more accurate.

Quote:
Originally posted by dantheman
u burning that much bw you should have ALL tools available to you from your host!
What do you mean? Are you suggesting running everything at the same time?
__________________
Does anyone look down here?
RK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 10:48 PM   #10
rnicey
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.
rnicey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-23-2002, 01:23 AM   #11
artware
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
artware is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.