[101197] in RedHat Linux List
[off topic] need project suggestion from expert
daemon@ATHENA.MIT.EDU (Xun Cheng)
Wed Nov 25 05:20:45 1998
Date: Wed, 25 Nov 1998 02:16:53 +0000
From: Xun Cheng <xun@cs.ucsb.edu>
To: redhat-list@redhat.com
CC: xun@cs.ucsb.edu
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
It's quite off topic. But if you read through the message
and can give me some hints, really appreciated.
I have a course project here and need some programming
help related to unix. If possible, I may contribute
some free research tools out of this project to the public.
The basic setting is that I want
to run a program on all the machines in two student
labs in my dept. There are about 71 machines there all
running solaris sparc or x86 and my desktop is a linux
box from which I want to control the process. I want to
program a script to easily start and stop a particular
program on each available machine of those 71 public
machines. As you can see, it's quite annoying to open
71 xterms and rlogin to those machines. Following are
some help I need:
1. Since those public machines are in student labs, the
configuration (like memory) and load are quite
different over time. The program I want to run on those
machines is very sensitive to those configurations and
load. I want to use a parameter to control the behavior
of the program based on the current load of each machine.
My question is that if there is already a freely available
piece of software that will give me the current load of
a machine it is running on. I need something which can give
me a number within a range
representing approximately how busy a machine
is right now and not the graphich meter stuff like those
CPUload kind of widgets. This number would reflect a
combined effect of current load like how much free memory
is left, how busy the cpu is, how many users are logged on etc.
If I have to program one by myself, what's the possible
approach?
2. Is rsh or rexec the only choice I have to control the
process from my desktop?
3. How can I see the output from the program running on
each machine? Can I:
. output to a file on the NFS mounted disk. How can read the
the file while it is being written?
. through network like output from rexec.
Any other better approaches?
thanks a lot
xun
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.