get active processes in python

Mathieu Prevot mathieu.prevot at gmail.com
Thu Jul 12 19:11:02 UTC 2007


2007/7/12, Mathieu Prevot <mathieu.prevot at gmail.com>:
> Hello,
> do you recommend a method to get active processes in a python script,
> as with "ps" or "top" in order to put the result into a list ? (python
> package, shell call...)
> Mathieu

PS: I would like to fire this regularly, eg every second


More information about the freebsd-hackers mailing list