From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21760 invoked by alias); 27 Jun 2008 11:41:05 -0000 Received: (qmail 21751 invoked by uid 22791); 27 Jun 2008 11:41:04 -0000 X-Spam-Check-By: sourceware.org Received: from webmailfront04.ispgateway.de (HELO webmailfront04.ispgateway.de) (80.67.16.115) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 27 Jun 2008 11:40:38 +0000 Received: from webmailfront04.ispgateway.de (localhost [127.0.0.1]) by webmailfront04.ispgateway.de (8.14.0/8.14.0) with ESMTP id m5RAL0Hm018432 for ; Fri, 27 Jun 2008 12:21:00 +0200 Received: (from nobody@localhost) by webmailfront04.ispgateway.de (8.14.0/8.14.0/Submit) id m5RAKx1q018428 for cygwin@cygwin.com; Fri, 27 Jun 2008 12:20:59 +0200 Received: from pc51997.klinik.uni-regensburg.de (pc51997.klinik.uni-regensburg.de [132.199.174.149]) by webmail.df.eu (Horde MIME library) with HTTP; Fri, 27 Jun 2008 12:20:59 +0200 Message-ID: <20080627122059.re9lrpwi04gggg8k@webmail.df.eu> Date: Fri, 27 Jun 2008 11:49:00 -0000 From: Markus Hoenicka To: cygwin@cygwin.com Subject: Re: Get the cygwin PID of a Win PID References: <20080627085154.GA20180@calimero.vinschen.de> In-Reply-To: <20080627085154.GA20180@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: domainFACTORY X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2008-06/txt/msg00592.txt.bz2 Quoting Corinna Vinschen : > On Jun 27 10:31, Borislav Ivanov wrote: >> ps output is: >> >> D:\>ps -W | grep mysql >> 2744 1 1384 1980 ? 18 15:07:22 >> /drives/c/mysql/bin/mysqld-nt >> 1980 0 0 1980 ? 0 15:07:23 >> c:\mysql\bin\mysqld-nt.exe > > What sort of bastard process is that, being listed as Cygwin process > *and* as native Windows process. Apparently mysqld-nt is doing > something really weird. I have no idea what that is, but it's definitely > bad for getting the Cygwin PID. You test application works fine for > normal Cygwin processes. > FWIW I get the following output: $ ps -W|grep mysql 1560 0 0 1560 ? 0 08:44:48=20=20 C:\Programme\MySQL\mysql 4.1\bin\mysqld-nt.exe I don't know whether this is a MySQL version issue, but there may be=20=20 other reasons than "bastard processes" (weird configurations of the=20=20 OP?). regards, Markus --=20 Markus Hoenicka markus.hoenicka@cats.de (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/