Looked at that before. psutil doesn't do children.
--mihai
On Tue, Feb 28, 2012 at 4:35 PM, Chris Rebert wrote:
> On Tue, Feb 28, 2012 at 10:33 AM, Mihai Badoiu wrote:
> > I'm trying to compute the total CPU load of an external process and it's
> &g
e children
processes?
thanks,
--mihai
--
http://mail.python.org/mailman/listinfo/python-list
is there a way to pipe directly into a preallocated buffer?
(subprocessing.pipe.stdout)
thanks,
--mihai
--
http://mail.python.org/mailman/listinfo/python-list
I like 2) the most. I do have access to the child. The child is a process
started with multiprocessing.Process(function). How do I _not_ set an SID?
thanks,
--mihai
On Wed, Dec 7, 2011 at 2:50 PM, Dan Stromberg wrote:
> On 12/7/11, Mihai Badoiu wrote:
> > ok, so the code is somet
dea on how to make process B die when process A gets killed by the
"kill" command?
thanks,
--mihai
On Sat, Dec 3, 2011 at 4:01 AM, Jack Keegan wrote:
> I think the OP meant when the parent gets killed (by ctrl+c or similar),
> not deleted. At least that's what I think
In the multiprocessing module, on a Process p, by just doing p.daemon=1
before p.start(), we can make the child die when the parent exits.
However, the child does not die if the parent gets killed.
How can I make sure the child die when the parent gets killed?
thanks,
--mihai
--
http
How do I get the resources consumed by the parent process?
getrusage() in the resource module seems to work only for self or the
children processes.
thanks,
--mihai
--
http://mail.python.org/mailman/listinfo/python-list
http://www.youtube.com/watch?v=tKTZoB2Vjuk
On Wed, Aug 24, 2011 at 11:53 AM, becky_lewis wrote:
> http://diveintopython.org/ is where you can get an online version of
> the dive into python book. I found it useful when learning python :)
>
> Becky Lewis
>
> On Aug 24, 3:46 am, User wrote:
> > H
If you need an int isn't better to use input() instead of raw_input() ?
On Tue, Aug 23, 2011 at 10:00 PM, Adrián Monkas wrote:
> Hi.
> I`ve been trying to copy a long text from one file to another but it always
> copied me just a small part.
> I would be glad if you can help me or explain which i
How do I do interactive plots in python? Say I have to plot f(x) and g(x)
and I want in the plot to be able to click on f and make it disappear. Any
python library that does this?
thanks,
--mihai
--
http://mail.python.org/mailman/listinfo/python-list
x27;s have different results for exactly the same asm code.
--mihai
On Tue, Apr 26, 2011 at 11:06 PM, David Cournapeau wrote:
> On Wed, Apr 27, 2011 at 4:14 AM, Dan Goodman
> wrote:
> > Hi,
> >
> > On 26/04/2011 15:40, Mihai Badoiu wrote:
> >> I have terrible per
Yes, running on pure python has the same issue (but overall only a factor 3
away):
i = 0
x = 1.0
while i < 1000:
x *= 0.8
#x += 0.01
i += 1
print x
On Tue, Apr 26, 2011 at 1:44 PM, Philip Semanchuk wrote:
>
> On Apr 26, 2011, at 1:34 PM, Mihai Badoiu wrote:
>
>
Already did. They suggested the python list, because the asm generated code
is really correct and the problem might be with the python running on top.
On Tue, Apr 26, 2011 at 1:04 PM, Chris Colbert wrote:
>
>
> On Tue, Apr 26, 2011 at 8:40 AM, Mihai Badoiu wrote:
>
>>
Hi,
I have terrible performance for multiplication when one number gets very
close to zero. I'm using cython by writing the following code:
cdef int i
cdef double x = 1.0
for 0 <= i < 1000:
x *= 0.8
#x += 0.01
print x
This code runs much much slower (20+ time
checked the values returned by select_point() and are different
in all the cases,
so the problem is with that variables names/values.
Thank you again,
Mihai.
--
http://mail.python.org/mailman/listinfo/python-list
is the same,
and is defined using PyTypeObject structure.
I hope I was explicit.
Thank you in advance,
Mihai.
--
http://mail.python.org/mailman/listinfo/python-list
16 matches
Mail list logo