Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun May 01, 2011 8:06 pm 
Offline
Senior Newbie

Joined: Wed Feb 09, 2011 2:47 am
Posts: 11
I currently use a node with Ubuntu 10.04 with LAMP. I maintain the server for a number of clients and would like to be able to gauge the bandwidth each client uses, to determine what payment plan they should be on for their hosting fees.

I assume a lot of the 'processes' for client's will be the same because they all operate from a centralized CMS also running on the server.

I have searched around but unfortunately feel lost seeing I am still learning the networking ropes.

Any help is much appreciated,
Cheers


Top
   
 Post subject:
PostPosted: Sun May 01, 2011 8:35 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
you could get their web usage from the apache logs, one of the stats packages (I use awstats) can get that for you. if that's the vast majority of the traffic, it may be sufficient.


Top
   
 Post subject:
PostPosted: Sun May 01, 2011 8:40 pm 
Offline
Senior Newbie

Joined: Wed Feb 09, 2011 2:47 am
Posts: 11
Thanks glg, I will look into awstats.
I noticed that the logs seem to be a pretty good quick representation of the request loads, seeing they are appended whenever a file is requested.

While on the topic, is there an issue with log files becoming extremely large? Should I be clearing/deleting them at a regular interval?


Top
   
 Post subject:
PostPosted: Sun May 01, 2011 9:37 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Typically, a utility like logrotate is used to keep your logs pruned. It does a pretty good job of rotating them on a regular interval and compressing the old ones.

There's a library article on it here.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group