Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm currently on a Linux VPS (Centos) and my daily traffic is about 15GB (for about ~40000 visits). I want to see the top files which generate the most traffic to move them to another place cause i'm running out of traffic quota this month.

Anytip to preserver bandwidth is also appreciated.

share|improve this question
    
That question is a bit vague. "Files" don't produce traffic, processes do, is that what you mean? –  Xerxes May 29 '09 at 9:21
    
I think he wanted to mean, which files are being the most downloaded, so that files "generated" most of the traffic... –  Andor May 29 '09 at 9:46
    
Lamnk: Do you have any control panel installed on that host? Any plesk or cpanel? –  Andor May 29 '09 at 9:47
    
@Andor: No cpanel or plesk. I only have webmin installed. @nima: i want to know which file consumes the most bandwidth so that i can move it out. –  Lamnk May 29 '09 at 11:23
    
I also think Webmin as a control panel, not as big as plesk, but a control panel, why not :D –  Andor May 29 '09 at 12:28
add comment

3 Answers

Awstats will put out results that will have such info.

share|improve this answer
    
Thanks Antoine, i used Awstats before but it only has traffic usage for file types (html, jpeg, gif ..) not for specific files. Maybe I must install some additional plugins ? –  Lamnk May 29 '09 at 11:26
    
Well it display the size of a file and the number of times it has been displayed. From there it's just simple math. –  Antoine Benkemoun May 29 '09 at 12:52
add comment

Or the (older, but simpler) Analog.

share|improve this answer
add comment

Using webmin, you can get awstats or webalizer to work easily...

Then, i.e. on awstats, you can see on your top urls list, which downloads are the most "downloaded". Also, on the file types list, you can see which kind of file type is the most downloaded (images, isos, pdfs), you can tune the config for getting more detail, and avoid that awstats exclude images or some kind of file type from the stats...

Also, easier on the standard install, webalizer generates a "Top ten urls by kbytes", that shows you which exact file is using the most bandwidth...

Edit: I saw your comment on Antoine answer, so I'm going to mark bold the most interesting approach for you, I think...

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.