psutil is a module providing an interface for retrieving information on running processes in a portable way by using Python.
It currently supports Linux, OS X, FreeBSD and Windows.