SHOW PROCESSLIST
View currently executing threads. This statement displays the ID, user, host, database, statement, time, and state of active connections.
Last updated
Was this helpful?
View currently executing threads. This statement displays the ID, user, host, database, statement, time, and state of active connections.
Last updated
Was this helpful?
Was this helpful?
SHOW PROCESSLIST;
+----+-----------------+-----------+------+---------+------+------------------------+------------------+----------+
| Id | User | Host | db | Command | Time | State | Info | Progress |
+----+-----------------+-----------+------+---------+------+------------------------+------------------+----------+
| 2 | event_scheduler | localhost | NULL | Daemon | 2693 | Waiting on empty queue | NULL | 0.000 |
| 4 | root | localhost | NULL | Query | 0 | Table lock | SHOW PROCESSLIST | 0.000 |
+----+-----------------+-----------+------+---------+------+------------------------+------------------+----------+