how to check which mysql server deals with SQL requests?

"mqboss"<[email protected]> Fri, 12 Mar 2010 14:31:10 +0800
Newsgroups gmane.comp.db.mysql.java
Message-ID <[email protected]>
--__=_Part_Boundary_007_002533.018557
Content-Type: text/plain;
	charset="UTF-8"
Content-Transfer-Encoding: 7bit

Hi all, 
 
I want to test the mode of Master/Slave for mysql.
Also I want to separate the write and read of sql requests, that is, I want to make Slave server of mysql to handle read requests and make Master server to handle write requests.
 
I configured the JDBC URL as "jdbc:mysql:replication://master,slave1,slave2/test" to implement the separation of write/read, I want to check whether it works. So I need to know how to check which mysql server deals with SQL requests. 

My question is about it, could you tell me how to check which mysql server deals with SQL requests? 
Please give me some advice.

Thanks,
Peter
--__=_Part_Boundary_007_002533.018557--