children process

Rita rmorgan466 at gmail.com
Fri Feb 8 07:32:33 EST 2013


hi,

I currently have a bash wrapper which executes a program, something like
this

#!/usr/bin/env bash
export LD_LIBRARY_PATH=/foo:$LD_LIBRARY_PATH
exec "$@"

I would like to have a python process which will do process accounting for
all children, so if a process starts, I would like to get all the
children's memory  (/proc/<ALL Children>/stat).

Is there a way to do this?

-- 
--- Get your facts first, then you can distort them as you please.--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130208/86be409e/attachment.html>


More information about the Python-list mailing list