delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/27/07:41:12

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <20080627122059.re9lrpwi04gggg8k@webmail.df.eu>
Date: Fri, 27 Jun 2008 12:20:59 +0200
From: Markus Hoenicka <markus DOT hoenicka AT mhoenicka DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: Get the cygwin PID of a Win PID
References: <d37422b50806270031w26b2879bq3dd25bc87708278b AT mail DOT gmail DOT com> <20080627085154 DOT GA20180 AT calimero DOT vinschen DOT de>
In-Reply-To: <20080627085154.GA20180@calimero.vinschen.de>
MIME-Version: 1.0
User-Agent: domainFACTORY
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m5RBfB9X002757

Quoting Corinna Vinschen <corinna-cygwin AT cygwin DOT com>:

> 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  
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  
other reasons than "bastard processes" (weird configurations of the  
OP?).

regards,
Markus

-- 
Markus Hoenicka
markus DOT hoenicka AT cats DOT 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/


- Raw text -


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