Re: [python-uk] Thread Dump of a python process

2006-02-10 Thread Shanon
Thank you for your info. Now I have read that a simple call os.getpid() returned the linux identifier of the thread in latest python versions, but I'm using Python 2.3 and 2.4 and this call returns always the same id Sad Sad I only want to take the pid of the thread but isn't as easier as it seems

Re: [python-uk] Thread Dump of a python process

2006-02-09 Thread Chris Miles
If you are using threading you can try: threading.enumerate() Cheers CM -- Chris Miles http://chrismiles.info/ On 9 Feb 2006, at 11:20, Shanon (sent by Nabble.com) wrote: > Hi, > > I would to know if there're some way to have a dump of all the threads > started by a python process. I want

[python-uk] Thread Dump of a python process

2006-02-09 Thread Shanon (sent by Nabble.com)
Hi, I would to know if there're some way to have a dump of all the threads started by a python process. I want to see the TID corresponding of each thread because I need them to get the CPU time of each thread by the command top. Thanks -- View this message in context: http://www.nabble.com/Thr