User Tools

Site Tools


mysql_processlist

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mysql_processlist [2016/05/20 09:23] luke7858mysql_processlist [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 3: Line 3:
 == Query List == == Query List ==
 To view mysql query list run the following command from the command line: To view mysql query list run the following command from the command line:
 +<sxh bash>
 +SELECT * FROM information_schema.processlist WHERE command != 'Sleep' ORDER BY time;
 +</sxh>
 +
 +\\
 +
 <sxh bash> <sxh bash>
 mysqladmin pr | grep Query | sort -nk12 mysqladmin pr | grep Query | sort -nk12
Line 13: Line 19:
 </sxh> </sxh>
 \\ \\
 +== All Processes ==
 If you need to investigate mysql you can troubleshoot by investigating the processlist If you need to investigate mysql you can troubleshoot by investigating the processlist
 <sxh> <sxh>
mysql_processlist.1463736212.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki