Mysql中查看每个IP的连接数

来源:互联网 发布:bluetooth网络连接设置 编辑:程序博客网 时间:2024/06/17 22:29


select SUBSTRING_INDEX(host,':',1) as ip , count(*) from information_schema.processlist group by ip;

 

原创粉丝点击