Code: Select all
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1188 mysql 20 0 1340028 186464 10624 S 133.0 4.7 1177:10 mysqld
mysql> SHOW PROCESSLIST;
+-----+--------+-----------+------+---------+-------+--------------+------------------------------------------------------------------------------------------------------+
| Id | User | Host | db | Command | Time | State | Info |
+-----+--------+-----------+------+---------+-------+--------------+------------------------------------------------------------------------------------------------------+
| 78 | zmuser | localhost | zm | Query | 42942 | Sending data | select * from Events as E left join Frames as F on (E.Id = F.EventId) where isnull(F.EventId) and no |
| 305 | zmuser | localhost | zm | Sleep | 1 | | NULL |
| 314 | zmuser | localhost | zm | Sleep | 41 | | NULL |
| 335 | zmuser | localhost | zm | Query | 40863 | Sending data | select * from Events as E left join Frames as F on (E.Id = F.EventId) where isnull(F.EventId) and no |
| 339 | zmuser | localhost | zm | Sleep | 15266 | | NULL |
| 355 | zmuser | localhost | zm | Sleep | 8 | | NULL |
| 538 | zmuser | localhost | zm | Sleep | 305 | | NULL |
| 539 | zmuser | localhost | zm | Sleep | 15 | | NULL |
| 862 | root | localhost | NULL | Query | 0 | NULL | SHOW PROCESSLIST |
| 863 | zmuser | localhost | zm | Sleep | 30 | | NULL |
+-----+--------+-----------+------+---------+-------+--------------+------------------------------------------------------------------------------------------------------+
Any help is appreciated.