Re: Thread Dump of a python process

2006-02-10 Thread Peter Hansen
Shanon wrote: > 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 > I only want to take the pid of the thread but isn't as easi

Re: Thread Dump of a python process

2006-02-10 Thread Peter Hansen
Shanon wrote: > 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 > I only want to take the pid of the thread but isn't as easi

Re: Thread Dump of a python process

2006-02-10 Thread Shanon
s it seems. -- View this message in context: http://www.nabble.com/Thread-Dump-of-a-python-process-t1089322.html#a2868401 Sent from the Python - python-list forum at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list

Re: thread dump

2006-02-09 Thread Peter Hansen
jsuch wrote: > I'm using Fedora core 3 and python 2.4.2, is there any way to obtain > the linux pid of a python thread? I need it because I want to know CPU > usage per thread. Not sure if you were the same person that posted this request not six minutes earlier under a thread

Re: Thread Dump of a python process

2006-02-09 Thread Peter Hansen
Shanon wrote: > 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. threading.enumerate() will return a list of all th

Thread Dump of a python process

2006-02-09 Thread Shanon
e.com/Thread-Dump-of-a-python-process-t1089322.html#a2840609 Sent from the Python - python-list forum at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list

thread dump

2006-02-09 Thread jsuch
I'm using Fedora core 3 and python 2.4.2, is there any way to obtain the linux pid of a python thread? I need it because I want to know CPU usage per thread. Thanks -- http://mail.python.org/mailman/listinfo/python-list