Is there a ssh command to scan log files and return the top list of the most requested files on a server ? Thank you.
-
1Do you mean the most requested files via HTTP in the web server logs?– MichaelOct 29, 2012 at 20:30
-
1What 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.– BarmarOct 29, 2012 at 20:35
-
@Michael : Yes, this is exactly it.– Pax MaximinusOct 29, 2012 at 21:02
-
@Barmar : I mean the language we use in a terminal (I thought it was called "SSH")– Pax MaximinusOct 29, 2012 at 21:03
-
It's called "shell".– BarmarOct 29, 2012 at 21:05
|
Show 1 more comment
1 Answer
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.
-
It's exactly what I need. Thank you another time.– Pax MaximinusOct 29, 2012 at 21:49