Hi Tom,

You can't.  MySQL's own thread ids are sequential.  The OS pids are
random.  There's no connection between them.  Besides, mysqld is really
only running in a single "real" process, it's just that LinuxThreads
shows each thread as a "process."


Matt


----- Original Message -----
From: "Tom Roos"
Sent: Tuesday, March 09, 2004 6:05 AM
Subject: mysqladmin processlist and pid


hi listers

how would i determine the association between the id from mysqladmin
processlist to a pid?

what i'm after is that i notice some of the mysql threads have a high
cpu utilization. i see this using top (on a linux box). i would like to
know which user/program is responsible for tuning purposes. i can use
mysqladmin processlist and it gives me a list (including an id) of what
processes are running but how do i tie this in with unix' pid?

tks
tom


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to