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


Groups > comp.lang.python > #38445

children process

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rmorgan466@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'bash': 0.07; 'exec': 0.07; 'wrapper': 0.07; 'python': 0.09; 'executes': 0.09; 'facts': 0.09; 'subject:process': 0.09; '"$@"': 0.16; 'memory': 0.18; '---': 0.26; 'first,': 0.27; 'skip:# 10': 0.27; 'message- id:@mail.gmail.com': 0.27; 'this?': 0.28; 'skip:& 10': 0.29; 'skip:l 40': 0.33; 'to:addr:python-list': 0.33; 'hi,': 0.33; 'program,': 0.34; 'received:google.com': 0.34; 'skip:l 30': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'there': 0.35; 'received:209': 0.37; 'to:addr:python.org': 0.39; 'your': 0.60; 'export': 0.62
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=h3oFRGdoYhpkqhvTZQ/GWM/6zeHDz3aR48ZaE3fNFXU=; b=yciXq9X6MoVoP4kG6czbScqDGftU9epnRjb1PwPfpFK4vqVDZ9BeU/xyLRYnXGMXZt qmihSVKSDzeMuXAZZbceUntCFqAEWbbFhD2BQS3jkDJiNBBq+lu7vQWaPam278aC8Okj M6Uce9wvJsgjPdJ7immHmbxVtff6we+YNNan+7oTp6K4P+hh08XcUNuIxgptkIZ9ZdGB jrheVDPhZA09LJW8txLzFJ7NCe+MXbvRxcblKOmnu4+E/YS3CB/q+nOfLN7NK9uBKZ6w 7Y7YvG71GGyUZz8CJhpWzZnmJzAwg93MoBShqypU6AadyPkySC4KA/zfNn1dJyTl1mfX HAtA==
MIME-Version 1.0
X-Received by 10.60.27.169 with SMTP id u9mr3843609oeg.138.1360326753324; Fri, 08 Feb 2013 04:32:33 -0800 (PST)
Date Fri, 8 Feb 2013 07:32:33 -0500
Subject children process
From Rita <rmorgan466@gmail.com>
To python-list@python.org
Content-Type multipart/alternative; boundary=e89a8fb20174e9107504d535c010
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1498.1360326756.2939.python-list@python.org> (permalink)
Lines 39
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1360326756 news.xs4all.nl 6946 [2001:888:2000:d::a6]:32939
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:38445

Show key headers only | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web