写了一个脚本,run这个脚本,就可以kill掉MySQL中所有sleep的client线程 vim killsleep.sh #It is used to kill processlist of mysql sleep #!/bin/sh while : do done 文章来源: https://blog.csdn.net/csdnhsh/article/details/92087255 标签 mysql vim脚本