查询Myql的连接

SELECT substring_index(host, ':',1) AS host_name,state,count(*) FROM information_schema.processlist GROUP BY state,host_name;

posted @ 2022-08-24 17:04  Arborblog  阅读(14)  评论(0编辑  收藏  举报