From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19038 invoked by alias); 25 Apr 2002 21:00:13 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 19023 invoked from network); 25 Apr 2002 21:00:10 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by sources.redhat.com with SMTP; 25 Apr 2002 21:00:10 -0000 Received: from root by main.gmane.org with local (Exim 3.33 #1 (Debian)) id 170qLS-0005hs-00 for ; Thu, 25 Apr 2002 23:00:02 +0200 To: cygwin@cygwin.com X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.33 #1 (Debian)) id 170qGg-0005CV-00 for ; Thu, 25 Apr 2002 22:55:06 +0200 Path: not-for-mail From: Stephen Powell Newsgroups: gmane.os.cygwin Subject: Re: ps and linking to cygwin.dll Date: Thu, 25 Apr 2002 15:55:00 -0000 Organization: Hail Eris! Message-ID: References: <4.3.1.2.20020424123617.02ba16d8@pop.ma.ultranet.com> <4.3.1.2.20020423211751.016e3178@pop.ma.ultranet.com> <20020423225102.GA13166@localhost> <4.3.1.2.20020423211751.016e3178@pop.ma.ultranet.com> <4.3.1.2.20020424123617.02ba16d8@pop.ma.ultranet.com> <4.3.1.2.20020424180624.02c26638@pop.ma.ultranet.com> <20020424233442.GA17544@localhost> Reply-To: Stephen_Powell@optusnet.com.au NNTP-Posting-Host: sdcax76-b035.dialup.optusnet.com.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1019768106 19927 210.49.119.35 (25 Apr 2002 20:55:06 GMT) X-Complaints-To: usenet@main.gmane.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= X-SW-Source: 2002-04/txt/msg01454.txt.bz2 >>>>> "Ryan" == Ryan T Sammartino 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/