Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: Cygwin List Message-Id: <6.1.0.6.0.20040518124953.03277c00@127.0.0.1> X-Sender: Date: Tue, 18 May 2004 12:52:56 -0400 To: alejandro DOT sanchez AT municipia DOT com, cygwin AT cygwin DOT com From: Larry Hall Subject: Re: Problems listing tasks under cygwin. In-Reply-To: <1084866742.40a9c0b605e6e@mail.municipia.com> References: <1084866742 DOT 40a9c0b605e6e AT mail DOT municipia DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 03:52 AM 5/18/2004, you wrote: >Hello, > >I have the following trouble, if I try to do a ps -aux I obtain all the current >tasks running under cygwin, but sometimes the PID listed is not the right one. >However trying ps -ef I obtain the right PID of the task. > >Anyway if I'm trying to list the tasks under the user system (with the same >privileges of root) runned out of cygwin, I see the associated PID but I can't >kill the task, it says something like 'not such PID for the process'. > >P.D: To list the tasks in windows I use ps -W -ef under cygwin environment. > >Any clue? I think you need to start back at the beginning. Here's what I get: # ps -aux ps: user x unknown # ps --version ps (cygwin) 1.11 Process Statistics Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. Compiled on Mar 18 2004 # cygcheck -f /bin/ps.exe cygwin-1.5.9-1 Whatever you're running for 'ps' is not Cygwin's current version at least. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/