Mytop

Мониторнг базы данных MySQL или MariaDB

mytop -u root -p password

mytop -S /var/run/mysqld/mysqld.sock -u root -p password -s 1

Debian

mytop -S /var/run/mysqld/mysqld.sock -u debian-sys-maint -p $(cat /etc/mysql/debian.cnf|grep password|sed 's/password = //'|head -n 1) -s 1