View previous topic :: View next topic |
Author |
Message |
d11wtq Apprentice


Joined: 14 Jul 2005 Posts: 192 Location: Manchester, UK
|
Posted: Sat Nov 19, 2005 11:22 pm Post subject: Bandwidth Monitoring |
|
|
Hi,
I run gentoo on my VDS server. I get my first 15GB per month (of the larger of incoming/outgoing traffic as opposed to a combination of both) included on my VDS plan. The rest I pay for per GB.
Is there any way I can keep track of my bandwidth usage throughout the month by simply writing the running totals to a log file.... i.e.
Code: |
Invoice Cycle: November 2005
Outogoing: 17.657GB
Incoming: 5.120GB
|
I could set cron to move the file to a location for safe keeping at the end of the month and have the counters reset ready for logging to a new file.
Is there any apps that can track my bandwidth to files in this fashion? I'm having difficulty knowing how much bandwidth I'm using when I add new client projects to my server.
Bonus if it does that but then offers a breakdown of where the traffic went and times of day etc etc.
Thanks,
d11wtq |
|
Back to top |
|
 |
dev-urandom Apprentice


Joined: 24 Jun 2005 Posts: 260 Location: Huh?
|
Posted: Sun Nov 20, 2005 1:15 am Post subject: |
|
|
You can try mrtg _________________ /earth: file system full. |
|
Back to top |
|
 |
ticho Tux's lil' helper


Joined: 23 Oct 2003 Posts: 138 Location: yes
|
Posted: Sun Nov 20, 2005 2:06 am Post subject: |
|
|
Or vnstat might be just what you need. _________________ The more you depend on forces outside yourself, the more you are dominated by them. |
|
Back to top |
|
 |
d11wtq Apprentice


Joined: 14 Jul 2005 Posts: 192 Location: Manchester, UK
|
Posted: Mon Nov 21, 2005 7:44 pm Post subject: |
|
|
Thanks for the pointers guys. I'll check out those  |
|
Back to top |
|
 |
volumen1 Guru


Joined: 01 Mar 2003 Posts: 393 Location: Missoula, MT
|
Posted: Tue Nov 22, 2005 5:32 am Post subject: |
|
|
Are you looking at figure out bandwidth usage per domain on an apache server, or just how much bandwidth your server is using... period? If you are investigating MRTG, I would suggest Cacti. It's like MRTG on steroids. It's a PHP graphing application with a database back-end. Once you install it and give it a database, all configuration is done via the web. It rules! _________________ I was born with a freakin' dice bag on my belt.
-- www.howsyournetwork.com |
|
Back to top |
|
 |
|