📅  最后修改于: 2022-03-11 15:04:59.945000             🧑  作者: Mango
-- æ¥è¯¢æ§è¡æ¶é´è¶
è¿2åéç线ç¨ï¼ç¶åæ¼æ¥æ kill è¯å¥
select concat('kill ', id, ';')
from information_schema.processlist
where command != 'Sleep'
and time > 2*60
order by time desc