Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any thread dump method with Python like Java thread dump?

Currently I want to find any Python tool can let me monitor another Python process' threads status. I know there is already a similar question

But the solution does not work in my case as it only dumps the process' own threads status.

Is it possible to do this in Python?

Thanks!

like image 838
Willy Avatar asked Sep 10 '26 13:09

Willy


1 Answers

As far as I know, there's no built-in support for this, but I've wanted it myself as well, and that's why I wrote my "PDM" library. Maybe you'll find it useful as well.

like image 154
Dolda2000 Avatar answered Sep 12 '26 03:09

Dolda2000