Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #38445 > unrolled thread

children process

Started byRita <rmorgan466@gmail.com>
First post2013-02-08 07:32 -0500
Last post2013-02-08 07:32 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  children process Rita <rmorgan466@gmail.com> - 2013-02-08 07:32 -0500

#38445 — children process

FromRita <rmorgan466@gmail.com>
Date2013-02-08 07:32 -0500
Subjectchildren process
Message-ID<mailman.1498.1360326756.2939.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

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.--

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web