This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ps questions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]