delorie.com/archives/browse.cgi | search |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=s25icZHBIB5s7Ej84bLHvzG6BwzxzcXpIuaBk3lcb1Y/dwYUyQfcq | |
gr1MlBuSTJTny9M2ug5y8R8QeEEjjELYqI1YhDll5QMh7ReE3HJLQI7UD+s6/4sc | |
KH9UHgSBsnA8ehAMGm8PYg4B79JBDVPV6kc1ZqSUJmNqDFxOQuNv8k= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=RBiciwnjBwMESu0kd7LxWFEeprI=; b=YZGJAB8KyU8C3ksDynrP5CLu7+b/ | |
j6sPomiBEQAaIwS81tL2WFGrkNq1Yd3ACyTlGDK4GWB4YAnItkIAo+IpjEKBrFTP | |
kNGxtcErFKU9KLWIEQUI18ok7/2bJMjoXpLTk8NSgJDeuMM8tY7E1htaexsSBXHL | |
4NMIHD6FDR/2vm8= | |
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Thu, 18 Dec 2014 18:33:46 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: ps questions |
Message-ID: | <20141218173346.GH10824@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <CAO2ddnZChb-n9+Z1YEWCFSA=WTaYfkmHdjMZk7Te5JYckUDE+Q AT mail DOT gmail DOT com> <5492EDFC DOT 5080608 AT gmail DOT com> <CAO2ddnZHs=4GxUJtjgoyTXO2Or3oKzY6Rck=m9Mqfj6DgWUQUg AT mail DOT gmail DOT com> <20141218171116 DOT GF10824 AT calimero DOT vinschen DOT de> <8F8B22BA-B007-4F10-9B4F-9BD963D17059 AT etr-usa DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <8F8B22BA-B007-4F10-9B4F-9BD963D17059@etr-usa.com> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
--tpXmNJJzF/fVXUEg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Dec 18 10:26, Warren Young wrote: > On Dec 18, 2014, at 10:11 AM, Corinna Vinschen <corinna-cygwin AT cygwin DOT com= > wrote: >=20 > > The <defunct> information is fetched from the process itself. This > > requires a living, valid Cygwin process, so the info isn't available for > > Windows processes. >=20 > On a Unix/Linux system, a process is marked <defunct> when the kernel > knows it has died, but its parent hasn=E2=80=99t called wait(2) or similar > yet, so the kernel keeps info about the process around with the > expectation that this call will come later. >=20 > So, you=E2=80=99re saying that Cygwin doesn=E2=80=99t do something simila= r? Similar, but not the same. Cygwin isn't a kernel and the process information is kept in shared memory regions held by the parent process and the process itself. This model has limitations you don't have on a real kernel. > If it did, it would be able to distinguish between dead Cygwin > processes and dead native processes. =E2=80=9CI didn=E2=80=99t start tha= t one, so I > will mark it <dead> instead of <defunct>,=E2=80=9D kind of thing. The <defunct> in case of a Windows process means only that the calling process was incapable of fetching this information. It doesn't know the state, because the target process didn't reply with the requested information. Actually, it didn't reply at all. That's one of the limitations of the model. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --tpXmNJJzF/fVXUEg Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUkw/6AAoJEPU2Bp2uRE+ghdYP/1JCb3LPwfyS8dOdYcbXXoXm r+Jqin4cdYqnWHvMqJC8EkIlNLCIb8PkLamKZVkVgPKpVPMtYwP1NR6QNnPi3Gkm TJa48bXw0SKXcq4pQ5cx+ypnAap1UG+/xbCBX8RIjPh1GTbLj17EYLT5PE46YaFr JlRzh/ScmMuae9HlN8Hodkum6e9aBMa3TBPUastUHFgvGFE/Ow5sy8GM48GHl2LF F6bQUiMIHgWQgpg6BfmJc/FcL+VIOm7ozDcsln0N/x6kDmJtfnGEwxI3/O9B7B4t wnSPq6F2lQoeA342cxWDqsMyqE4QuEd23OrQuC5xa8vjOSDxVPvnpaw0KOqKtYa+ uFAVDhOIa8Rgj6fB0DjpWrAAwxu7dGHBgCB9S07/DTyW8GB6LkW/vacSUId+xDzC WpTnDeoI77B0EtH6WpLc0cswpbIiHXGD9an/6CUI8GwNKu5kWc81HKIfe8MJZPNn dMCeX2mGFApokiTLvWVzTOa983S2iBLcBjzSJQElmeYjjYl/8tT4w2QEwzbb88qG lvdLzmD7+cpg0tsYqY2OzbC8JaT9cEKie25xrghs2Grdg2zgqSQrVCxvzrcWLA2y jb+AgAR71X5fSYNOnb9rqnLkwxodbBppXHC2jIjt30NdGmUP8Ak8hQMFiAA0eGCC yLWY05BaMZTXDRn2bVzr =Beys -----END PGP SIGNATURE----- --tpXmNJJzF/fVXUEg--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |