delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/24/19:10:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 24 Jul 2002 21:58:03 +0100
From: Jim George <jim DOT george AT blueyonder DOT co DOT uk>
To: John Morrison <john DOT r DOT morrison AT ntlworld DOT com>
Cc: cygwin AT cygwin DOT com
Subject: Re: a way to read the current cpu load from the shell or via a cmdline utility in cygwin?
Message-Id: <20020724215803.024f3ea3.jim.george@blueyonder.co.uk>
In-Reply-To: <Pine.LNX.4.44.0207240839540.24512-100000@gateway.morrison>
References: <ahll1h$pmk$1 AT main DOT gmane DOT org>
<Pine DOT LNX DOT 4 DOT 44 DOT 0207240839540 DOT 24512-100000 AT gateway DOT morrison>
Organization: JSDM Services Ltd
Mime-Version: 1.0

On Wed, 24 Jul 2002 08:41:05 +0100 (BST)
John Morrison <john DOT r DOT morrison AT ntlworld DOT com> wrote:

> Does cat /proc/stat | grep cpu give you the information you want?
> 
> J.
> 
> On Wed, 24 Jul 2002, Dylan Cuthbert wrote:
> > Hi there,
> >
> > I've searched through the archives but can't seem to find any mention of
> > this, is there a way to display the cpu load via a shell utility?
> >
> > If not, can someone point me to the posix function call (if it exists) so I
> > can write a little utility.  I want to do some load balanced compiles across
> > several machines by spawning the compile across the network via "make -j",
> > and a wrapper for gcc, then use rsh (ssh or rexec) and network sharing to do
> > the compile.  The thing is I only want to use machines whose loads are low.
> >
> > Of course, if a tool for this kind of thing already exists, then please give
> > me a pointer.
> >
> > Regards
> >
> > ---------------------------------
> > Q-Games, Dylan Cuthbert.
> > http://www.q-games.com
Under Linux we had 'top'.  Is there an equivalent or something that someone is working on?

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019