[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [condor-users] How to tell if condor is installed?



Thanks Jonathan!

I think what I'm looking for value of ${RELEASE_DIR}, the problem is I can't
determine the path of the condor release dir without knowing the path of the
condor release dir ( if I must parse the config file :-)

Can a running daemon tell us, or is there a condor_X command that could.
I'm willing to require my users to have condor in the path so that condor_X
can be executed to determine the release dir.

Thanks.

----- Original Message ----- 
From: "Jonathan Giddy" <J.P.Giddy@xxxxxxxxxx>
To: <condor-users@xxxxxxxxxxx>
Sent: Sunday, May 23, 2004 8:29 AM
Subject: Re: [condor-users] How to tell if condor is installed?


> If condor_status exists and produces sensible output, then Condor is
> probably installed and running. If you need to find condor_status in a
> failsafe manner, then you have to go to quite some effort.
>
> Find the first existing file from the list ${CONDOR_CONFIG},
> /etc/condor/condor_config, ~condor/condor_config.
>
> Now, you can either assume it's a fairly standard setup, and parse the
> RELEASE_DIR line, adding /bin to find the location of condor_status.
>
> To be absolutely correct in all circumstances, you also need to parse any
> files listed in the Condor variable $(LOCAL_CONFIG_FILE), as well as the
> first existing file from /etc/condor/condor_config.root,
> ~condor/condor_config.root. Then use the value of the Condor BIN variable.
>
>
>
> Condor Support Information:
> http://www.cs.wisc.edu/condor/condor-support/
> To Unsubscribe, send mail to majordomo@xxxxxxxxxxx with
> unsubscribe condor-users <your_email_address>
>

Condor Support Information:
http://www.cs.wisc.edu/condor/condor-support/
To Unsubscribe, send mail to majordomo@xxxxxxxxxxx with
unsubscribe condor-users <your_email_address>