Processes in Linux from Python

Christian Heimes lists at
Mon Sep 1 12:21:22 CEST 2008

Johny wrote:
> Is it possible to get a number of the http processes running on Linux
> directly from Python ?

The Python core has no direct API for the job. However you can use the 
virtual /proc/ file system for the job. Or check out my enumprocess 
It's far from perfect but it should do the job on Linux.


More information about the Python-list mailing list