This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: a way to read the current cpu load from the shell or via a cmdline utility in cygwin?
- 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
- Date: Wed, 24 Jul 2002 21:58:03 +0100
- Subject: Re: a way to read the current cpu load from the shell or via a cmdline utility in cygwin?
- Organization: JSDM Services Ltd
- References: <ahll1h$pmk$1@main.gmane.org><Pine.LNX.4.44.0207240839540.24512-100000@gateway.morrison>
On Wed, 24 Jul 2002 08:41:05 +0100 (BST)
John Morrison <john.r.morrison@ntlworld.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/