X-Recipient: archive-cygwin@delorie.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:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type
	:content-transfer-encoding; q=dns; s=default; b=F/EG53dNmQ2N1gp+
	GIAXYb8x2qRVoQ/yiIyjfJ07WPfEtVBky10ZjU62z4TmsufjWfmcGDKf+gl61tIC
	nQGAp0LvfgZ/AebVTnOohpLuHRQlbh8oG4Ni1qXaRMEX68yftPFLCGUfJNird1DK
	VZ3A+jhTitkdHarAY+Qf7/r6GjY=
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:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type
	:content-transfer-encoding; s=default; bh=dE3a6UEfBTd/mt1Q+iHG8a
	NBphM=; b=ms9kvFWKQRKgLwlg4nW0mSF+FExoPVZC4yx9+Hop52pSpREFZhMAAH
	dtp/cZhrSe2t0aU1xVndpY6svRvGn9aPhqUl68OWCpjEQgurdUChBRJugoicES/v
	Px8GE+HmAVBZLdYXo9wdiIvz0mz1xFVzUYuU2Pu1N7y65WkWaXJsw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-qc0-f174.google.com
MIME-Version: 1.0
X-Received: by 10.224.135.193 with SMTP id o1mr12055643qat.97.1418984141886; Fri, 19 Dec 2014 02:15:41 -0800 (PST)
In-Reply-To: <20141218185114.GJ10824@calimero.vinschen.de>
References: <CAO2ddnZChb-n9+Z1YEWCFSA=WTaYfkmHdjMZk7Te5JYckUDE+Q@mail.gmail.com>	<5492EDFC.5080608@gmail.com>	<CAO2ddnZHs=4GxUJtjgoyTXO2Or3oKzY6Rck=m9Mqfj6DgWUQUg@mail.gmail.com>	<20141218171116.GF10824@calimero.vinschen.de>	<8F8B22BA-B007-4F10-9B4F-9BD963D17059@etr-usa.com>	<20141218173346.GH10824@calimero.vinschen.de>	<71891584-9B1C-430D-9A15-8EC385EB3F3F@etr-usa.com>	<20141218185114.GJ10824@calimero.vinschen.de>
Date: Fri, 19 Dec 2014 11:15:41 +0100
Message-ID: <CAO2ddnZZTSQ8JRDoVQPO0B28f+Hw1EJkBtmv+nPX25-7sW2e=A@mail.gmail.com>
Subject: Re: ps questions
From: =?UTF-8?Q?Kizito_Porta_Balany=C3=A0?= <kfeina@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id sBJAFwUI031839

2014-12-18 19:51 GMT+01:00 Corinna Vinschen <corinna-cygwin@cygwin.com>:
> On Dec 18 11:40, Warren Young wrote:
>> On Dec 18, 2014, at 10:33 AM, Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:
>>
>> > On Dec 18 10:26, Warren Young wrote:
>> >>
>> >> ...Cygwin doesn’t do something similar?
>> >
>> > 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.
>>
>> I’m aware of that, but can’t the DLL see both the birth and death of
>> every Cygwin process?  Birth via either DllMain() or execvp(2), and
>> death via one of the methods here:
>
> Aren't we talking about fetching info from non-Cygwin processes?

But .., any process found in /proc is not a cygwin processs?
If it isn't why ps -ef reports it?

$ ps -ef
    UID     PID    PPID  TTY        STIME COMMAND
    k        4804   4908  pty0     18:18:29 /cygdrive/c/WINDOWS/system32/notepad

In this case notepad, is a child of bash (pid 4908). So it seams a
cygwin process, isn't it?


Thanks a lot again.



> Corinna
>
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Maintainer                 cygwin AT cygwin DOT com
> Red Hat

--
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


