Eneko Alonso

un Navarro en California

Projects

¿Eres español y vives fuera de España? ¿Estás pensando en salir una temporada a trabajar o estudiar en el extranjero? Si es así, no dejes de visitar Spaniards.es, la Comunidad de Españoles en el Mundo
spaniards.es

Recent comments

17:06 America/Los_Angeles


tail --follow spaniards.es | grep -v "spaniards.es"

What a wonderful command :) Of course "Spaniards.es" is the Apache log on Spaniards.es web server. I have never tried that before. I knew about tail --follow, which I love. But since 90% of the requests are additional requests generated everytime anybody visits the page (images, css, etc), following the whole log is kind of boring.

So usign grep -v one can remove anything reffered from the server itself. Thus, only direct requests and requests comming from other websites will show up in the output.

Now that's fun. I can see Google Bot hitting my server once every two secconds and Yahoo Slurp doing the same every now and then. I can see every time anybody searches something in Google and follows the link to Spaniards.es.

I love it!

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.