Exemplos de Uso
$
watch -n 2 "mysqladmin -u root -p status | tr " " "\n" | grep -A1 Connections"
$
mysql -u root -p -e "SELECT user, COUNT(*) as conexoes FROM information_schema.PROCESSLIST GROUP BY user ORDER BY conexoes DESC;"
$
mysql -u root -p -e "SELECT CONCAT("KILL ",id,";") FROM information_schema.PROCESSLIST WHERE user="webuser"" | mysql -u root -p