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: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 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.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: <5492EDFC DOT 5080608 AT gmail DOT com> <20141218171116 DOT GF10824 AT calimero DOT vinschen DOT de> <8F8B22BA-B007-4F10-9B4F-9BD963D17059 AT etr-usa DOT com> <20141218173346 DOT GH10824 AT calimero DOT vinschen DOT de> <71891584-9B1C-430D-9A15-8EC385EB3F3F AT etr-usa DOT com> <20141218185114 DOT GJ10824 AT calimero DOT vinschen DOT de> Date: Fri, 19 Dec 2014 11:15:41 +0100 Message-ID: Subject: Re: ps questions From: =?UTF-8?Q?Kizito_Porta_Balany=C3=A0?= To: cygwin AT cygwin DOT 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 : > On Dec 18 11:40, Warren Young wrote: >> On Dec 18, 2014, at 10:33 AM, Corinna Vinschen 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