Logging the pid of the dispatcher.fcgi

Hi,

Is there an easy way to log the pid of the dispatcher processing the
request?
Aparently some of the dispatchers get lazy after a while and I would
like to
see which are those.

Thanks,
Bogdan