Jump to content

Tons of mysql processes how to find the table and mysql commands used?

Featured Replies

Posted

Hello,

 

when i run htop command i see alot of mysql processes like this:

 

88a482d83388a06241cda4784ccdcc71.thumb.jpg.93608053559dacc7940c2657c45b6607.jpg

 

But when i run command "mysqladmin processlist" i see usually nothing..

 

Quote:

[root@* ~]# mysqladmin processlist

+--------+------+-----------+-----+---------+------+-------+------------------+

| Id | User | Host | db | Command | Time | State | Info |

+--------+------+-----------+-----+---------+------+-------+------------------+

| 455317 | hqs | localhost | hqs | Sleep | 3 | | |

| 455320 | hqs | localhost | hqs | Sleep | 0 | | |

| 455321 | root | localhost | | Query | 0 | | show processlist |

+--------+------+-----------+-----+---------+------+-------+------------------+

so i want to ask how can i track what are these mysql processes that i see in htop, so i see which db and which table is used?

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...