public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Stephen Powell <me@privacy.net>
To: cygwin@cygwin.com
Subject: Re: ps and linking to cygwin.dll
Date: Thu, 25 Apr 2002 15:55:00 -0000	[thread overview]
Message-ID: <ud6wna4bx.fsf@127.0.0.1> (raw)
In-Reply-To: <20020424233442.GA17544@localhost>

>>>>> "Ryan" == Ryan T Sammartino <ryants@shaw.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@optusnet.com.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/

  parent reply	other threads:[~2002-04-25 21:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-23 16:07 Ryan T. Sammartino
     [not found] ` <4.3.1.2.20020423211751.016e3178@pop.ma.ultranet.com>
2002-04-24 10:06   ` Ryan T. Sammartino
2002-04-24 10:07     ` Larry Hall (RFK Partners, Inc)
2002-04-24 15:05       ` Ryan T. Sammartino
2002-04-24 15:37         ` Larry Hall (RFK Partners, Inc)
2002-04-24 18:36           ` Ryan T. Sammartino
2002-04-25  7:41             ` Larry Hall (RFK Partners, Inc)
2002-04-25 15:55             ` Stephen Powell [this message]
2002-04-25 14:00 Heribert Dahms

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ud6wna4bx.fsf@127.0.0.1 \
    --to=me@privacy.net \
    --cc=Stephen_Powell@optusnet.com.au \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).