Tu peux commencer avec Rawk: http://rubyforge.org/projects/rawk-the-logs/

Ou un bon vieux grep: 
http://wiki.rubyonrails.org/rails/pages/HowtoMonitorProduction
(il faudra que tu installes Cygwin...)

Et qd tu as trouve les requetes lentes, tu peux utiliser le profiler
(je crois qu'il etait deja la ds Rails 1.1.6):

en general, je commence par le format text:
ruby script/performance/profiler 'TaClasse.ta_methode' 10 2>
profile.txt

(ca te donne une vue generale de ce qui se passe)

Puis:

ruby script/performance/profiler 'TaClasse.ta_methode' 10 graph_html
2> profile.html

Il faut installer ruby-prof

Bonne chance!

Cyrille


On Jul 11, 9:03 pm, "Schwinn Michael \(RBC Dexia IS\)"
<[EMAIL PROTECTED]> wrote:
> Merci pour ce lien, malheureusement il faut rails 2.0.1 minimum et nous 
> tournons avec rails 1.1.6.
> Dommage car cet outil semble prometteur!
>
> Michaël Schwinn
> Analyst Developer, IT 2nd Level
> IT Transversal Application Management
>
> RBC Dexia Investor Services
> T +352 2605 9396
> F +352 2605 2008
> rbcdexia-is.com
>
> P Please consider your environmental responsibility before printing this email
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
> Tony Chauveau
> Sent: vendredi 11 juillet 2008 10:10
> To: [email protected]
> Subject: [RailsFr] Re: "Analyseur" de requêtes
>
> Schwinn Michael (RBC Dexia IS) wrote:
> > L'id al serait un mix d'un peu tout.
> > J'aimerai un outil me permettant, par exemple, d'avoir la liste des
> > requ tes qui sont le plus souvent utilis es ou bien celles qui
> > consomme le plus (en temps) afin d'optimiser tout cela (sachant que je
> > n'ai pas la main sur les outils Oracle en production).
> > D'autre part j'aimerai essayer de cibler les pages qui mettent le plus
> > de temps   s'afficher.
>
> > J'ai  galement song    faire mon propre script, malheureusement je
> > n'ai pas le temps de le faire et je doute que l'on me l'accorde ;-) Je
> > vais continuer mes recherches,
>
> > Merci pour ta r ponse Cyrille.
>
> > Mike
>
> Tu peux tester si TuneUp te convient :
>
> http://www.fiveruns.com/
> --
> Posted viahttp://www.ruby-forum.com/.
>
> ---------------------
> Internet communications are not secure or error free and the contents of any 
> attachment to this e-mail may contain software viruses or other defect which 
> might affect your own computer system. RBC Dexia Investor Services Bank S.A. 
> does not accept liability and/or responsibility for any damage or loss which 
> may occur or be sustained consequently. The recipient is responsible for 
> virus checks before opening any attachment.
> The information contained in this e-mail may be privileged and/or 
> confidential. If you are not the intended recipient, you are hereby notified 
> that any disclosure, use or copying of the information contained herein is 
> strictly prohibited and may be unlawful. If you receive this in error, please 
> contact the sender and delete the e-mail.
> ---------------------
> An electronic message is not binding on its sender.
> Any message referring to a binding engagement must be confirmed in writing 
> and duly signed.
> ---------------------
>
> ---------------------
> Internet communications are not secure or error free and the contents of any 
> attachment to this e-mail may contain software viruses or other defect which 
> might affect your own computer system. RBC Dexia Investor Services Bank S.A. 
> does not accept liability and/or responsibility for any damage or loss which 
> may occur or be sustained consequently. The recipient is responsible for 
> virus checks before opening any attachment.
> The information contained in this e-mail may be privileged and/or 
> confidential. If you are not the intended recipient, you are hereby notified 
> that any disclosure, use or copying of the information contained herein is 
> strictly prohibited and may be unlawful. If you receive this in error, please 
> contact the sender and delete the e-mail.
> ---------------------
> An electronic message is not binding on its sender.
> Any message referring to a binding engagement must be confirmed in writing 
> and duly signed.
> ---------------------
--~--~---------~--~----~------------~-------~--~----~
Vous avez reçu ce message, car vous êtes abonné au groupe "Railsfrance" de 
Google Groups.
Pour transmettre des messages à ce groupe, envoyez un e-mail à l'adresse 
[email protected]
Pour résilier votre abonnement envoyez un e-mail à l'adresse [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Répondre à