MariaDB useful commands

Checking current max connections.

show status where `variable_name` = 'Max_used_connections';

Checking threads connect

show status where `variable_name` = 'Threads_connected';

Checking current process

show full processlist;