octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #34595] print command creates zombie processes


From: Rik
Subject: [Octave-bug-tracker] [bug #34595] print command creates zombie processes
Date: Fri, 17 Feb 2012 04:58:26 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0

Follow-up Comment #5, bug #34595 (project octave):

The patch works for me as well on Kubuntu 10.04 (A Debian derivative).

Ben, to check for zombie processes you should have some sort of process table
viewer.  Otherwise, you can do it from the command line using the 'ps'
command.

For example, pre-patch


./run-octave
graphics_toolkit fltk
plot (1:10);
print -depsc2 test.eps

Now go to another command line shell window.
ps -eo stat,pid,ppid,cmd | grep '^Z'

Lines that start with 'Z' are zombie processes.  The third column is the
parent process id (ppid).  Try the following where PPID is replaced by the
numerical value from the line above to see who owns the zombie process.

ps -eo pid,cmd | grep PPID

Sample results from my computer were
Z+   14112 13913 [sh] <defunct>

and
13913 /home/rik/wip/Projects_Mine/octave-dev/src/.libs/lt-octave

which is "run-octave"



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34595>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]