Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

You must log in to answer this question.