From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18044 invoked by alias); 11 Mar 2014 12:27:16 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 17972 invoked by uid 89); 11 Mar 2014 12:27:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: plane.gmane.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 11 Mar 2014 12:27:14 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WNLm1-0002Mc-KP for cygwin@cygwin.com; Tue, 11 Mar 2014 13:27:09 +0100 Received: from gw1-st.cellent-fs.de ([193.158.59.162]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Mar 2014 13:27:09 +0100 Received: from Kurt-Franke by gw1-st.cellent-fs.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Mar 2014 13:27:09 +0100 To: cygwin@cygwin.com From: Kurt Franke Subject: Re: About "defunct" processes Date: Tue, 11 Mar 2014 13:04:00 -0000 Message-ID: References: <531D9E82.1050505@alice.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes X-SW-Source: 2014-03/txt/msg00165.txt.bz2 Angelo Graziosi alice.it> writes: > $ 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 > > Why that "defunct" process? I don't remember having seen that before on > my old Cygwin32 installation. Hi, it looks like the cygwin process handling becomes more unix like :-) in unix exach process has an entry in the process list unless its parent has do a wait call on it to get the information abouit process termination. if the parent process teminates the init process will become the new parent and will do this wait if not already done -- 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