From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29075 invoked by alias); 25 Jul 2002 13:51:21 -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 29066 invoked from network); 25 Jul 2002 13:51:20 -0000 Received: from unknown (HELO cafeaulait.net) (161.58.219.5) by sources.redhat.com with SMTP; 25 Jul 2002 13:51:20 -0000 Received: from narnia.coolbrew.com (ip68-11-60-44.no.no.cox.net [68.11.60.44]) by cafeaulait.net (8.11.6/8.11.2) with ESMTP id g6PDpEt59843 for ; Thu, 25 Jul 2002 08:51:14 -0500 (CDT) Message-Id: <5.1.1.6.2.20020725084120.01d76b48@localhost> X-Sender: gmccrory@coolbrew.com Date: Thu, 25 Jul 2002 08:55:00 -0000 To: cygwin@cygwin.com From: Greg McCrory Subject: Re: a way to read the current cpu load from the shell or via a cmdline utility in cygwin? In-Reply-To: References: <20020724215803.024f3ea3.jim.george@blueyonder.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-SW-Source: 2002-07/txt/msg02002.txt.bz2 At 7/24/2002 11:38 PM -0400, Igor Pechtchanski wrote: >On Wed, 24 Jul 2002, Jim George wrote: > >Jim, > >I did a google search on "linux top cpu load". Here's a top from the >first match: http://www.groupsys.com/topsrc/top-3.5beta9.tar.gz >It took about an hour to make it compile and run under cygwin 1.3.12-2 on >Win2k. The patch is attached. > >Note: I just compiled and ran the code; I haven't verified the correctness >of the output. It seemed to work without crashing, and the output looked >plausible. I also haven't tested it on any system other than mine (above). >Try it at your own risk. > Igor Notes on my quick attempt this morning: To get the ./Configure to run properly I needed a symbolic link to tcsh: ln -s /bin/tcsh /bin/csh Also chose module linux when asked. for owner, used SYSTEM instead of default root install script did not move the executable into the proper directory: ./install -o SYSTEM -m 4711 -g SYSTEM top /usr/local/bin chown: changing ownership of `/usr/local/bin/top': No such file or directory chgrp: changing group of `/usr/local/bin/top': No such file or directory chmod: changing permissions of `/usr/local/bin/top': No such file or directory make: *** [install-top] Error 1 I was able to install it manually and it appears to work. GMc -- 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/