snippets > list-running-queries-mariadb

List running queries in a MariaDB server

mysql -u$MYSQL_USER -p$MYSQL_PASSWORD $MYSQL_DATABASE
SHOW FULL PROCESSLIST;
## OR
mysqladmin -u$MYSQL_USER -p$MYSQL_PASSWORD processlist