delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/25/17:05:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Stephen Powell <me AT privacy DOT net>
Newsgroups: gmane.os.cygwin
Subject: Re: ps and linking to cygwin.dll
Date: Fri, 26 Apr 2002 06:52:34 +1000
Organization: Hail Eris!
Lines: 30
Message-ID: <ud6wna4bx.fsf@127.0.0.1>
References: <4 DOT 3 DOT 1 DOT 2 DOT 20020424123617 DOT 02ba16d8 AT pop DOT ma DOT ultranet DOT com> <4 DOT 3 DOT 1 DOT 2 DOT 20020423211751 DOT 016e3178 AT pop DOT ma DOT ultranet DOT com>
<20020423225102 DOT GA13166 AT localhost>
<4 DOT 3 DOT 1 DOT 2 DOT 20020423211751 DOT 016e3178 AT pop DOT ma DOT ultranet DOT com>
<4 DOT 3 DOT 1 DOT 2 DOT 20020424123617 DOT 02ba16d8 AT pop DOT ma DOT ultranet DOT com>
<4 DOT 3 DOT 1 DOT 2 DOT 20020424180624 DOT 02c26638 AT pop DOT ma DOT ultranet DOT com>
<20020424233442 DOT GA17544 AT localhost>
Reply-To: Stephen_Powell AT optusnet DOT com DOT au
NNTP-Posting-Host: sdcax76-b035.dialup.optusnet.com.au
Mime-Version: 1.0
X-Trace: main.gmane.org 1019768106 19927 210.49.119.35 (25 Apr 2002 20:55:06 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Thu, 25 Apr 2002 20:55:06 +0000 (UTC)
X-Posting-Agent: Hamster/1.3.23.3
User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2
(i386-mingw-nt5.0.2195)
Cancel-Lock: sha1:FKg8NGXdFwqBVqQukJVeVhQfakY=

>>>>> "Ryan" == Ryan T Sammartino <ryants AT shaw DOT ca> writes:

    > So, if I see a process in 'ps -a' output that is *not* linked to
    > Cygwin dll, that's a bug?

A process spawned by a Cygwin process will be displayed e.g. (the $ is
the bash prompt)

$ which regedit
/c/winnt/regedit

$ regedit &
[1] 1880

$ ps -a
      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
     1508       1    1508       1508    ?   18   Apr 24 /usr/bin/cygrunsrv
     1664    1508    1508       1772    ?   18   Apr 24 /usr/sbin/cron
      864       1     864        864    0 1000 04:58:43 /gnu/local/bin/ispell
     1592       1    1592       1592    1 1000 06:05:55 /usr/bin/bash
     1880    1592    1880       1880    1 1000 06:41:16 /c/winnt/regedit
     1760    1592    1760       1524    1 1000 06:41:23 /usr/bin/ps


In this example the parent process (PPID) of the Windows registry
editor (regedit) is the bash shell.

-- 
Stephen Powell
stephen_powell AT optusnet DOT com DOT au



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019