Created
May 11, 2018 09:56
-
-
Save alexcherkesov/4fb2fb14aed818309419a4cecb2e96b0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
select | |
* | |
from | |
information_schema.processlist | |
where | |
ID <> connection_id() and | |
USER not in ('system user', 'repl', 'rdsrepladmin') and | |
COMMAND not in ('Sleep', 'Daemon') | |
order by | |
TIME desc; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment