From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16990 invoked by alias); 18 May 2004 16:58:06 -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 16963 invoked from network); 18 May 2004 16:58:04 -0000 Received: from unknown (HELO ns2.prospeed.net) (12.46.111.132) by sourceware.org with SMTP; 18 May 2004 16:58:04 -0000 Received: from enterprise-e.cygwin.com (lhall.prospeed.net [12.46.110.44] (may be forged)) by ns2.prospeed.net (8.12.10/8.12.8) with ESMTP id i4IGvxba023001; Tue, 18 May 2004 12:58:03 -0400 Reply-To: Cygwin List Message-Id: <6.1.0.6.0.20040518124953.03277c00@127.0.0.1> X-Sender: Date: Tue, 18 May 2004 16:58:00 -0000 To: alejandro.sanchez@municipia.com, cygwin@cygwin.com From: Larry Hall Subject: Re: Problems listing tasks under cygwin. In-Reply-To: <1084866742.40a9c0b605e6e@mail.municipia.com> References: <1084866742.40a9c0b605e6e@mail.municipia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-SW-Source: 2004-05/txt/msg00641.txt.bz2 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/