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 To: cygwin AT cygwin DOT com From: James Hu Subject: Re: good top program for cygwin Date: Thu, 19 Feb 2004 05:47:24 +0000 (UTC) Lines: 26 Message-ID: References: <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040217134051 DOT 0396d660 AT 127 DOT 0 DOT 0 DOT 1> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040218102058 DOT 0391a278 AT 127 DOT 0 DOT 0 DOT 1> <20040218154144 DOT GA3117 AT redhat DOT com> X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: c-24-6-196-139.client.comcast.net User-Agent: slrn/0.9.8.0 (CYGWIN_NT-5.0) On 2004-02-18, Christopher Faylor wrote: > On Wed, Feb 18, 2004 at 10:24:55AM -0500, Larry Hall wrote: >>Then you either do not have the 'top' that's part of Cygwin or your >>environment is incorrect. Try installing/upgrading the procps package. >>There's a man page for the Cygwin version of 'top' that comes with this >>package. I don't know if this will help you with the issue you >>originally had or not but the documentation for Cygwin's 'top' is >>definitely available. > > It won't help. 'top' uses /proc to get its info and /proc currently > only has information on cygwin processes. > > cgf Not incredibly useful, but it shows the windows processes. #!/bin/bash n=15 if [ $# != 0 ] ; then n=$1 ; fi n=$[n+1] while : ; do clear ; ps -sW | head -$n ; sleep 1 ; done #END OF FILE Type ^C to quit. -- James -- 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/