check instace already running...

John Ridley ojokimu at yahoo.co.uk
Sun Apr 10 12:44:48 EDT 2005


--- Fabio Pliger <fabio.pliger at siavr.it> wrote:
> Yeah, but how can i retrieve my PID number?And how do i check if the
> process
> who has written the file is still alive?If there a way to have the
> list of
> the precesses running?

This subject has come up before. The thread starts here:

http://mail.python.org/pipermail/python-list/2004-September/243294.html

But see in particular this post:

http://mail.python.org/pipermail/python-list/2004-September/243379.html

There is also a cookbook recipe here:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/252495

HTH

John Ridley

Send instant messages to your online friends http://uk.messenger.yahoo.com 



More information about the Python-list mailing list