Newsgroups: comp.parallel.pvm
From: fox@nrlssc.navy.mil (Dan Fox)
Subject: Re: measuring CPU idle-time
Organization: Naval Research Lab
Date: Mon, 29 Aug 1994 18:36:23 GMT
Message-ID: <CvB7op.64J@usenews.nrlssc.navy.mil>

thomas faerbinger (thomas@wein01.elektro.uni-wuppertal.de) wrote:

: Can I measure the idling percentage of a CPU ? Or even better the
: computing power available at a given time ?
: Something like

:  get_over_all_rusage()

: or

:  int get_MFLOPS_now_possible()

: I have an algorithm where dynamic load-balancing is not worth
: it but I'd like to distribute the problem in a sensible way.
: Any hints appreciated,
: 	Thomas.

I don't know if this is "standard(?)" unix or not, but
our suns have a command called "rup" which will give you
the load averages of each machine on a network.  We use it
in scripts to launch applications to the least-busy machine.

--
 +-----------------------------------------+
 | Daniel N Fox       fox@nrlssc.navy.mil  |
 | Naval Research Laboratory, Code 7323    |
 | Stennis Space Center, MS 39529-5004     |
 +-----------------------------------------+

