Use the SHOW PROCESSLIST
command to display the current workload of the system. The output of this command consists of id, user, host, database, time, and info.
Output | Description |
---|---|
worker_id | The id of the worker running the process. |
id | The id of the process. |
user | The username associated with the process. |
host | The host to which the client is connected. |
database | The database if one is selected. |
time | The elapsed time since the running sql. |
info | The statement being executed. |
SHOW PROCESSLIST
command to display the running processes, you can terminate them by the KILL
command.