6 ms·
If you want to see which mysql queries are running in almost-realtime, you could do: watch -n 1 -d 'echo "SHOW PROCESSLIST;" | mysql'
by brendoncrawford 16y ago
If you want to see which mysql queries are running in almost-realtime, you could do:
watch -n 1 -d 'echo "SHOW PROCESSLIST;" | mysql'
- halfasleep 16y agoYou might find mytop easier for this, it also allows hiding sleeping processes etc.
- brendoncrawford 16y agoGood tip. Thank you for pointing this out.