How to get info about query by it's PID?

I wonder how is it possible to get some information about MySQL query but it’s PID (which is shown in MySQL Administrator)?

I can see really strange qeries and I’d like to know what script creates those queries.