Perhaps this has been flagged or probably it is matter I don't understand, but I am seeing some "defunct" process with ps command.

The following occurs on Cygwin64 (I don't have Cygwin32 any more).

Suppose I start mintty with the link created by its installation. Suppose I create another mintty window with ALT-F2 from the first. ps shows:

$ ps
      PID    PPID    PGID     WINPID   TTY     UID    STIME COMMAND
     2648       1    2648       2648  ?       1001 12:01:38 /usr/bin/mintty
     3724    2648    3724       2012  pty0    1001 12:01:38 /usr/bin/bash
     1904    2648    2648       1760  ?       1001 12:01:41 /usr/bin/mintty
I    1604    1904    1604        768  pty1    1001 12:01:41 /usr/bin/bash
     3776    3724    3776       2016  pty0    1001 12:02:03 /usr/bin/ps


ant its seems OK.

Suppose, now, I close the second mintty window (clicking the window "x" button). ps shows:

$ ps
      PID    PPID    PGID     WINPID   TTY     UID    STIME COMMAND
     2648       1    2648       2648  ?       1001 12:01:38 /usr/bin/mintty
     3724    2648    3724       2012  pty0    1001 12:01:38 /usr/bin/bash
     3176    3724    3176       3832  pty0    1001 12:02:14 /usr/bin/ps
1904 2648 2648 1760 ? 1001 12:01:41 /usr/bin/mintty <defunct>


Why that "defunct" process? I don't remember having seen that before on my old Cygwin32 installation.


Ciao,
Angelo.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to