X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=q/GOV2hhvqNNWjisI1qZp262v1E7P9nxsRyWBScehHG7zEWezXGZd dQF7XCKYJacrfiSuCJRILGm51mfztm10knsma/YMa3Zw5/sarM5JvyCgJjDBT0Rr D67hhWHUyWzMfK6vQfin+ZTl0bl0vPrQCYW4/WpR7DVoigcsyZpOUw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=b9gcMZN8d7PswyCMIxr1CvGgslo=; b=GMaJHfWwohuwCb8qqLFZfTzGsnOL rU2mcNNWMZFH7TjSXw5l8qgo8vNX6JYN0EN185wgekiZTvoV8d8ktaxeA69/phbT VfCi77GgsN1joBQXFhB4wyluH8Fso+e4mNnWRYzm3tU1J7NgQFuzWYZpa0A9V94/ alf1OBcsKMdFEz8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 To: cygwin AT cygwin DOT com From: Kurt Franke Subject: Re: About "defunct" processes Date: Tue, 11 Mar 2014 12:26:45 +0000 (UTC) Lines: 26 Message-ID: References: <531D9E82 DOT 1050505 AT alice DOT 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 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