This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: ps questions
- From: Kizito Porta Balanyà <kfeina at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 19 Dec 2014 11:15:41 +0100
- Subject: Re: ps questions
- Authentication-results: sourceware.org; auth=none
- 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> <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>
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