连接数监控
mysql -uroot -p"micro_2017" -h127.0.0.1 -e"select SUBSTRING_INDEX(host,':',1) as ip ,count(*) from information_schema.processlist group by ip;"