Programmatic Parsing of ps
prologic at shortcircuit.net.au
Fri Feb 11 01:46:30 CET 2011
On Thu, Feb 10, 2011 at 4:58 AM, octopusgrabbus
<old_road_farm at verizon.net> wrote:
> I have Python 2.6.6. I would like to get this output
> ps -ef | grep 'fglgo csm'
> into a list. What is the best way to do that? I've been reading the
> documentation, and am lost.
Have you checked out psutil (1) to see if it
meets your needs ?
-- James Mills
-- "Problems are solved by method"
More information about the Python-list