13 May

How to remove sleeping processes in MySQL processlist output

show procecclist‘ can be quite long in MySQL. Here’s simple way to filer out sleeping processes:

mysql> pager grep -v  Sleep
mysql> show processlist;



Leave a Reply

Your email address will not be published. Required fields are marked *