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