Noplay >>Logiciels serveur

version imprimable

Statistiques temps réel d’Apache avec apachetop

le mardi 31 juillet 2007 par
Noplay

sommaire

Installation
Lancer le logiciel
Les raccourcis clavier
Conclusion




A chaque nouvelle version de mon projet USVN j’ai envie de voir en temps réel l’impact sur les visites du site web, malheureusement je doit attendre l’analyse des logs en fin de journée... Ce qui est loin d’apaiser mon impatience.

Plus sérieusement lorsqu’on a une charge de trafic importante et inattendu il est intéressant pour l’administrateur de pouvoir analyser la situation sans pour autant passer par l’analyse des logs.

Heureusement comme toujours dans le logiciel libre quelqu’un a déjà eu le problème et à une écrit une solution.

Il s’agit d’apachetop un petit programme en ncurse qui est comme son nom l’indique est l’équivalent à top pour apache. Vous pourrez ainsi voir les dernières requêtes effectués, le taux de transfert, le nombre de requêtes par seconde...

Installation

apachetop est disponible sous forme de package dans la plupart des distributions.

Sous ubuntu il s’agit juste d’installer le paquet apachetop :

sudo apt-get install apachetop

Si votre distribution ne vous le propose pas vous pouvez le télécharger à cette adresse : http://www.webta.org/projects/apach...

Lancer le logiciel

Son utilisation est très simple, puisqu’il suffit simplement de lancer la commande apachetop. Par défaut il se base sur votre fichier access.log pour afficher les statistiques de visites, mais vous pouvez utiliser un autre fichier de log à l’aide de l’option -f.

Les raccourcis clavier

Une pression sur d permet de basculer entre les modes d’affichage :
- l’url accédé
- le nom de domaine accédé
- le refererrer de la requête (la page d’où vient le visiteur)

Une pression sur h vous donnera l’aide complète du logiciel et enfin une pression sur q permet de quitter l’application.

Il est apparemment possible de filtrer les résultats à l’aide de la touche f mais je n’ai pas réussis à le faire marcher.

Conclusion

En conclusion apachetop est un petit programme qui remplit bien la ce pour quoi il a été conçu c’est à dire afficher en temps réel l’activité sur votre serveur apache.

Le site du projet : http://www.webta.org/projects/apachetop/



commentaires (23 message(s))

Statistiques temps réel d’Apache avec apachetop
le 13 juin , par Gucci clothing:

Star of super large picture frame love most of the picture frame from popular in the s, Gucci clothing was greatly lens cover half of his face the Audrey Hepburn of the world jing, let originally freakish and grandiose design become fashionable classical and became popular in the world. Now, exaggeration and personality is distinct big picture frame,cheap jewelry still be 2007 fashion keywords sunglasses. But with less than a minute, a mysterious, wear is showing off points feel like a star.



Statistiques temps réel d’Apache avec apachetop
le 10 juin , par star09:

’Intérieur Hamed Bakayoko, serait composée de jeunes patriotes et de m

taser holster



Buy Generic Drugs
le 7 juin , par samuelfosss:

This is a great inspiring article. I am pretty much pleased with your good work. You put really very helpful information. Keep it up. Looking to reading your next post.

Buy generic drugs | Buy Aldara Online | Buy Famvir Online



Women Lingerie
le 7 juin , par ozonemattew:

I respect your work , thanks for all the informative articles.

Women Lingerie | Buy Clomid Online



Statistiques temps réel d’Apache avec apachetop
le 6 juin , par npIFrsXnC:

a4VBFt , [url=http://wjzeakxusihr.com/]wjzeakxusihr[/url], [link=http://jnmmudvihbxk.com/]jnmmudvihbxk[/link], http://zwbdmodsnjvj.com/



Statistiques temps réel d’Apache avec apachetop
le 2 juin , par fkLkskQEoRnpv:

uQj7TV , [url=http://xfpvqbamxxhb.com/]xfpvqbamxxhb[/url], [link=http://ybtyxpqaeaqo.com/]ybtyxpqaeaqo[/link], http://nnsnoaxovajd.com/



Statistiques temps réel d’Apache avec apachetop
le 2 juin , par FLSzIWOUrcXVaeOZCDO:

That’s way the betsest answer so far !



Statistiques temps réel d’Apache avec apachetop
le 31 mai , par prada:

So dynamic picture behind by who hold mirror ? cheap men shoes Be a well-known fashion blogger Garance Dore. Since it is the street snap bloggers do bear photographer, prada shoes for men clap out have the feeling of street pats, 1:00 also not surprising, and feel fresh. Opinion of the Moschino pick through advertisement photography photographer.



Statistiques temps réel d’Apache avec apachetop
le 30 mai , par designer:

Jessica Alba cheap purses and natali WoJia Natalia Vodianova promise wa (,) and is chanel advanced customization, warren tino (Valentino) advanced customization on beautiful field of beauty guest, Cheap Sunglasses 1 "bump" together who quicker ?



Statistiques temps réel d’Apache avec apachetop
le 24 mai , par kiki:

Mosquitoes can provide you red, itchy bumps around the skin together with deadly conditions. These are surely a thing you would need to steer clear of and so exactly the same cautiousness need to use to mere mosquito bites. Mosquito Net Impregnated practically defend you from mosquito bites just by trying to keep the mosquitoes themselves at a distance. The one catch is permethrin mosquito net can’t do anything at all to handle mosquito populations.



Statistiques temps réel d’Apache avec apachetop
le 19 mai , par rerebecca255:

The information provided was extremely useful and informative. Thanks a lot for useful stuff. generic cialis pills live | purchase online viagra | pharmacy journal articles



Statistiques temps réel d’Apache avec apachetop
le 19 mai , par johnbuchan003:

I am very glad to post a comment on your blog as I really enjoyed reading your posts. over weight pills info | anti smoking pills | diabetes pills bar



Statistiques temps réel d’Apache avec apachetop
le 19 mai , par markfort11:

I had really enjoyed viewing this blog. The information was really very cordial and it was very helpful for me. Thanks a lot for the stuff. hair loss identify pills information | discount pharmacy vlog | hair weight loss pills



Statistiques temps réel d’Apache avec apachetop
le 19 mai , par luckysony3:

This site was really very interesting and I had got impressed with this stuff. Thanks a lot for the lovely information which was given in this blog. diabetes pills information | anti smoking pills blog |clinic pharmacy hub



Statistiques temps réel d’Apache avec apachetop
le 19 mai , par Ackerley1254:

The information which I had found in this blog was really very cordial and I had liked it very much. Thanks a lot for the information. best pharmacy journal | top anti smoking pills | cheapest drugs online pharmacy



Statistiques temps réel d’Apache avec apachetop
le 18 mai , par star09:

some times never seen

rocky boots



Statistiques temps réel d’Apache avec apachetop
le 6 mai , par andy:

New value with tide US today announced formally launched by the brand Undefeated co-branded first pair of shoes. Through the New value of official released, Cheap Sunglasses can know this pair of shoes design inspiration comes from the U.S. in 1990 gulf campaign.



Statistiques temps réel d’Apache avec apachetop
le 29 avril , par designer:

Among the stars,cheap men shoes dress the most representative Nicole Richie (operated language examiner "- Nicole Richie) can calculate on high marks,cheap designer purses and today the poster printing accused of Ed and we made to net a look the spicy mom printed sheet is tasted what are !



Statistiques temps réel d’Apache avec apachetop
le 21 avril , par :

Juste pour vous dire que j’ai trouvé cet article intéressant | moustiquaire fenetre | moustiquaire fenêtre



Statistiques temps réel d’Apache avec apachetop
le 16 avril , par dfdsf:

a friend and going from forumlogs,boheal there may lead you to all sorts of business. Once you get a good start on



Statistiques temps réel d’Apache avec apachetop
le 9 avril , par sdf:

Still there is room for greater development and I would recommend more emphasis on research and of course it will bring a better situation. Thanks for sharing a nice read. Cheers The Krup Law Group



Statistiques temps réel d’Apache avec apachetop
le 30 mars , par crystal:

Une pression sur h vous donnera l’aide complète du logiciel et enfin une pression sur q permet de quitter l’application. Cassava Flour Mill



Statistiques temps réel d’Apache avec apachetop
le 22 mars , par bob:

I like what you guys are at all times up too. Such intelligent work and reporting ! Keep up the great works guys I’ve added you guys to my blogroll. Roll Shells




Webmaster Noplay