Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Tue, 6 Aug 2002 21:07:52 +0100
From: Jim George <jim.george@blueyonder.co.uk>
To: cygwin@cygwin.com
Subject: Re: Top reporting on cygwin processes only?
Message-Id: <20020806210752.24512cc5.jim.george@blueyonder.co.uk>
In-Reply-To: <20020806142354.GA19193@redhat.com>
References: <20020805223042.39e9de67.jim.george@blueyonder.co.uk>
	<Pine.GSO.4.44.0208051908090.694-100000@slinky.cs.nyu.edu>
	<20020806095533.O3921@cygbert.vinschen.de>
	<20020806112623.2950e6f5.jim.george@blueyonder.co.uk>
	<20020806142354.GA19193@redhat.com>
Organization: JSDM Services Ltd
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

On Tue, 6 Aug 2002 10:23:54 -0400
Christopher Faylor <cgf@redhat.com> wrote:

> On Tue, Aug 06, 2002 at 11:26:23AM +0100, Jim George wrote:
> >should ps be modified to work as top does, of course /proc would need
> >to be upgraded, or can top be modified to work as ps does, or should
> >both continue on their own but be updated to recognise all processes
> >running on a box?
> 
> 'ps --help' will show you an option for displaying windows processes as
> well as cygwin processes.
> 
> cgf
> 
I'm aware that ps -W shows both but what I was driving at in my own befuddled way is, shouldn't both top and ps be capable of reporting on both, i.e bring top in to line with ps?

Based on what Corrina said this would mean a major change to one or other of the utilities since top uses /proc but ps uses the cygwin api.  Hence which, if any, should change?

Jim

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

