Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] FW: Web interface
- Date: Wed, 1 Feb 2006 17:14:49 -0000
- From: "Kewley, J \(John\)" <j.kewley@xxxxxxxx>
- Subject: Re: [Condor-users] FW: Web interface
NP
There
are other alternatives to sed of course, it was just the first thing that came
to mind.
cut -d":" -f1 | cut -c 2-
or
similar would be clearer to some people!
Maybe
it'd be nicer if condor had an IPAddress instead!
BTW
why do you need the IP addresses rather than the names?
JK
that seems to work pretty well... thanks!
:)
On 2/1/06, Kewley, J
(John) <j.kewley@xxxxxxxx>
wrote:
>
...This script simply gets a list of all the machines in the cluster from
condor_status,
> converts the hostnames to ipnumbers using /etc/hosts
and then ...
Can you not use an option to condor_status -format to
get it to print IP address
rather than use /etc/hosts ?
Something
like
condor_status -format '%20s\n' MyAddress | uniq | sed
's/^<\(.*\):.*$/\1/'
uniq means multiple processors / VMs on same
processor give only one entry -
that may not be what you
want.
JK
_______________________________________________
Condor-users
mailing list
Condor-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/condor-users
--
*******************************************
Bruno
Miguel Tavares Goncalves, MS
PhD Candidate
Emory University
Department of Physics
Office No. N117-C
400 Dowman Drive
Atlanta,
Georgia 30322
Homepage: www.bgoncalves.com
Email: bgoncalves@xxxxxxxxx
Phone: (404)
712-2441
Fax: (404)
727-0873
*******************************************