Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bandwidth Monitoring
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
d11wtq
Apprentice
Apprentice


Joined: 14 Jul 2005
Posts: 192
Location: Manchester, UK

PostPosted: Sat Nov 19, 2005 11:22 pm    Post subject: Bandwidth Monitoring Reply with quote

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
View user's profile Send private message
dev-urandom
Apprentice
Apprentice


Joined: 24 Jun 2005
Posts: 260
Location: Huh?

PostPosted: Sun Nov 20, 2005 1:15 am    Post subject: Reply with quote

You can try mrtg
_________________
/earth: file system full.
Back to top
View user's profile Send private message
ticho
Tux's lil' helper
Tux's lil' helper


Joined: 23 Oct 2003
Posts: 138
Location: yes

PostPosted: Sun Nov 20, 2005 2:06 am    Post subject: Reply with quote

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
View user's profile Send private message
d11wtq
Apprentice
Apprentice


Joined: 14 Jul 2005
Posts: 192
Location: Manchester, UK

PostPosted: Mon Nov 21, 2005 7:44 pm    Post subject: Reply with quote

Thanks for the pointers guys. I'll check out those :)
Back to top
View user's profile Send private message
volumen1
Guru
Guru


Joined: 01 Mar 2003
Posts: 393
Location: Missoula, MT

PostPosted: Tue Nov 22, 2005 5:32 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum