[python-uk] Thread Dump of a python process

Chris Miles miles.chris at gmail.com
Thu Feb 9 15:57:24 CET 2006


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 to see the TID corresponding of  
> each
> thread because I need them to get the CPU time of each thread by  
> the command
> top.



More information about the python-uk mailing list