Created
April 21, 2023 09:23
-
-
Save jtouza/8e5fb3d8a6d96468d440004ad5a30a0c to your computer and use it in GitHub Desktop.
MySQL watch sleep queries
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
watch "mysqladmin -uMYSQL_USER -pMYSQL_PASS processlist|grep -vi sleep" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment