how do I get the process list in Python?

后端 未结 4 1199
感情败类
感情败类 2020-12-06 01:51

How do I get a process list of all running processes from Python, on Unix, containing then name of the command/process and process id, so I can filter and kill processes.

4条回答
提交回复
热议问题