Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21004 > unrolled thread
| Started by | Chris Rebert <clp2@rebertia.com> |
|---|---|
| First post | 2012-02-28 13:35 -0800 |
| Last post | 2012-02-28 13:35 -0800 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Listing children processes Chris Rebert <clp2@rebertia.com> - 2012-02-28 13:35 -0800
| From | Chris Rebert <clp2@rebertia.com> |
|---|---|
| Date | 2012-02-28 13:35 -0800 |
| Subject | Re: Listing children processes |
| Message-ID | <mailman.260.1330464950.3037.python-list@python.org> |
On Tue, Feb 28, 2012 at 10:33 AM, Mihai Badoiu <mbadoiu@gmail.com> wrote: > I'm trying to compute the total CPU load of an external process and it's > children. (so I cannot use resource.getrusage) For the load of the process > I can just grab it from /proc/X/stat. How do I get the CPU load of the > children processes? Is there an easy way to get a list of the children > processes? http://code.google.com/p/psutil/ Cheers, Chris
Back to top | Article view | comp.lang.python
csiph-web