How to display list of running processes Python? How to display list of running processes Python? python python

How to display list of running processes Python?


Try this command:

ps -ef | grep python

ps stands for process status


ps -aux will give all process grep python

ps -aux | grep python


You could also setup a "watch" in a separate window to constantly monitor Python processes as you run a script: watch -n 1 "ps u -C python3". Particularly useful when developing with multiprocessing.