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;
‘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;