This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: good top program for cygwin
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/