Monitorizare MySQL

Astazi am constatat ca unul din serverele de MySQL se comporta putin ciudat, in sensul ca uneori raspundea destul de greu inclusiv la niste solicitari nu foarte mancatorare de resurse.

Cautand o solutie de monitorizare, am gasit in repozitorii o aplicatie mica si frumoasa, care m-a ajutat sa ma prind ce si cum se intampla…. Se numeste “mtop” si este scrisa in Perl. Dupa descriere: “Shows top mysql threads”

Asa ca… $ sudo apt-get install mtop si mai apoi

test:~$ mtop –dbuser=alex –password=parolamea –seconds=1

mtop - Shows top mysql threads
mtop – Shows top mysql threads


Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© Alex. Burlacu