delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/24/03:30:23

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
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: "Dylan Cuthbert" <dylan AT q-games DOT com>
Newsgroups: gmane.os.cygwin
Subject: a way to read the current cpu load from the shell or via a cmdline utility in cygwin?
Date: Wed, 24 Jul 2002 16:31:58 +0900
Lines: 20
Message-ID: <ahll1h$pmk$1@main.gmane.org>
NNTP-Posting-Host: pppa20.kyoto-ip.dti.ne.jp
Mime-Version: 1.0
X-Trace: main.gmane.org 1027495795 26324 210.159.246.20 (24 Jul 2002 07:29:55 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Wed, 24 Jul 2002 07:29:55 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

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




--
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