delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/11/08:27:38

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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <Kurt-Franke AT web DOT de>
Subject: Re: About "defunct" processes
Date: Tue, 11 Mar 2014 12:26:45 +0000 (UTC)
Lines: 26
Message-ID: <loom.20140311T132200-453@post.gmane.org>
References: <531D9E82 DOT 1050505 AT alice DOT it>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Angelo Graziosi <angelo.graziosi <at> 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 <defunct>
> 
> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019