On Tue, Feb 28, 2012 at 10:33 AM, Mihai Badoiu <mbad...@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 -- http://mail.python.org/mailman/listinfo/python-list