Checking current max connections.
MariaDB [(none)]> show status where `variable_name` = 'Max_used_connections';
Checking threads connect
MariaDB [(none)]> show status where `variable_name` = 'Threads_connected';
Checking current process
MariaDB [(none)]> show full processlist;