Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a ssh command to scan log files and return the top list of the most requested files on a server ? Thank you.

share|improve this question

migrated from stackoverflow.com Oct 29 '12 at 22:03

This question came from our site for professional and enthusiast programmers.

1  
Do you mean the most requested files via HTTP in the web server logs? –  Michael Oct 29 '12 at 20:30
1  
What do you mean by "ssh command"? ssh is just a way of connecting to a remote server, it doesn't have any special commands of its own. –  Barmar Oct 29 '12 at 20:35
    
@Michael : Yes, this is exactly it. –  Pax Maximinus Oct 29 '12 at 21:02
    
@Barmar : I mean the language we use in a terminal (I thought it was called "SSH") –  Pax Maximinus Oct 29 '12 at 21:03
    
It's called "shell". –  Barmar Oct 29 '12 at 21:05
show 1 more comment

1 Answer

up vote 1 down vote accepted

Look into utilizing Webalizer for that sort of info. Most linux builds already come with that pre-installed. Try rpm -q webalizer to see if it's present.

share|improve this answer
    
Thank you. I gona have a look on it. –  Pax Maximinus Oct 29 '12 at 21:09
    
It's exactly what I need. Thank you another time. –  Pax Maximinus Oct 29 '12 at 21:49
add comment

Your Answer

 
discard

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