MySQL Full Processlist - Watch live every 0.5 seconds (from Command-Line)

Watch MySQL full-processlist every 0.5 seconds :


while : ; do mysql -u MY_USERNAME --password='MY_PASSWORD' -e "show full processlist"; sleep 0.5; done 

 

Save full-processlist to log


while : ; do mysql -u MY_USERNAME --password='MY_PASSWORD' -e "show full processlist"; sleep 0.5; done >> mysql-proc.log

 

Neuen Kommentar schreiben

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Suche

Neueste Kommentare