This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Get the cygwin PID of a Win PID


Quoting Corinna Vinschen <corinna-cygwin@cygwin.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.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]