查询mysql进程列表

SHOW PROCESSLIST;

-- 相当于
SELECT * FROM information_schema.processlist;
-- 这个可以加过滤条件,比如数据库名称
SELECT * FROM information_schema.processlist WHERE db = 'sf8ycsjz'

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×