[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Print plot error
From: |
Rob Mahurin |
Subject: |
Re: Print plot error |
Date: |
Sun, 23 Aug 2009 13:40:17 -0400 |
On Aug 22, 2009, at 6:29 PM, Dmitri A. Sergatskov wrote:
On Sat, Aug 22, 2009 at 4:32 PM, Ben Abbott<address@hidden> wrote:
I'm not sure I see the same thing ...
plot(1:10)
for n = 1:25
print -dpdf test.pdf
system ('ps axu | grep gnuplot | wc -l');
end
6
5
6
6
6
I think ps tranketes long output lines.
Try
system ('ps axwww | grep gnuplot | wc -l');
I can confirm this on both Linux and OS X 10.4. Every Octave command
like
octave> print /tmp/out.pdf
adds one more defunct process to
shell$ ps x -o pid,ppid,stat,command |
awk '$3 ~ /Z/ {print}'
I think the solution is an occasional waitpid(-1,0,WNOHANG), but I'm
not sure where in the code this goes.
Rob
--
Rob Mahurin
University of Manitoba, Dept. of Physics & Astronomy
at: Oak Ridge National Laboratory 865 207 2594
Oak Ridge, Tennessee address@hidden
- Re: Print plot error, (continued)
- Re: Print plot error, John B. Thoo, 2009/08/22
- Re: Print plot error, Dmitri A. Sergatskov, 2009/08/22
- Re: Print plot error, Dmitri A. Sergatskov, 2009/08/22
- Re: Print plot error, Ben Abbott, 2009/08/22
- Re: Print plot error, Dmitri A. Sergatskov, 2009/08/22
- Re: Print plot error,
Rob Mahurin <=
- Re: Print plot error, Ben Abbott, 2009/08/23
- Re: Print plot error, Dmitri A. Sergatskov, 2009/08/24
- Re: Print plot error, Rob Mahurin, 2009/08/24
- Re: Print plot error, Dmitri A. Sergatskov, 2009/08/24
- Re: Print plot error, Rob Mahurin, 2009/08/24
- Re: Print plot error, Ben Abbott, 2009/08/24
- Re: Print plot error, Dmitri A. Sergatskov, 2009/08/24
- Re: Print plot error, Ben Abbott, 2009/08/24
- Re: Print plot error, Rob Mahurin, 2009/08/24
- Re: Print plot error, Ben Abbott, 2009/08/24