public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* About "defunct" processes
@ 2014-03-10 14:34 Angelo Graziosi
  2014-03-11 13:04 ` Kurt Franke
  0 siblings, 1 reply; 3+ messages in thread
From: Angelo Graziosi @ 2014-03-10 14:34 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-11 14:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-10 14:34 About "defunct" processes Angelo Graziosi
2014-03-11 13:04 ` Kurt Franke
2014-03-11 15:13   ` Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).