To see what’s happening on a busy MySQL server, use this:
mysql -uroot -e "show full processlist"
If you want to do this continuously, try this:
watch -n1 'mysql -uroot -e "show full processlist"'
To see what’s happening on a busy MySQL server, use this:
mysql -uroot -e "show full processlist"
If you want to do this continuously, try this:
watch -n1 'mysql -uroot -e "show full processlist"'