ssh `gstat -m | head -1 | awk -F: '{print $1}'` mycommand
will work for you. it's not pretty but.. it will run your command using
ssh on the least loaded node.
if you use bourne shell, you can even do stuff like
for machine in `gstat -m | head -10 | awk -F: '{print $1}'`
do
ssh $machine comma
i'll forgot to mention. i'll be speaking at clusterworld expo on april
7th (http://www.clusterworldexpo.com/) if anyone is going to be there..
i'll buy you a tea/coffee/beer/?. i'd really love to have 2.6.0 ready
for release before then so that i can use the 1 hour talk to kill two
birds with one
i just checked in changed to ganglia 2.6.0 cvs.
you can get a snapshot of the work to this point at
http://matt-massie.com/ganglia/ganglia-2.6.0.tar.gz
here the new and improved (sane) way that unicast and multicast channels
are specified in gmond.
there are two new config file attributes "send_
> "gstat -m" is already there.
>
> Bill
>
I was hoping for something like:
ssh `gstat -m1` mycommand
So no parsing of the output is required--or is there a way to do that
already?
--Karl
Hi Matt,
How about--as an alternative to the powerful gexec--if we just have a simple
argument we can pass to gstat to tell it to find the least loaded cluster
node? That way we can write simple scripts to call gstat and then run the
batch job ourselves using ssh.
--Karl
Use the --debug=10 command line option when starting gmetad.
- Original Message -
From: "Kumar Vaibhav" <[EMAIL PROTECTED]>
To: "Federico Sacerdoti" <[EMAIL PROTECTED]>;
Sent: Friday, March 05, 2004 4:24 AM
Subject: Re: [Ganglia-developers] changing database
> sir,
>
> thanks for the re
sir,
thanks for the reply
It is really very helpful for me
i am facing some other problems
actually i modified some of the codes and added some printf statements and
some shell commands by system function but neither output nor the error
messages are visible on the console
can u tell me on what f