Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] condor node status
- Date: Wed, 23 May 2012 20:52:33 -0400
- From: Ben Cotton <bcotton@xxxxxxxxxx>
- Subject: Re: [Condor-users] condor node status
On Wed, May 23, 2012 at 8:24 PM, Santanu Das <santanu@xxxxxxxxxxxxxxxxx> wrote:
> Dear all,
>
> What's the best way to determine the present state of a execute-node from a
> script? I see the exit-code is still the same for a "running" and a "off"
> node:
>
You can use format arguments. For example:
[514 bcotton@condor-fe00 ~ ]$ condor_status
slot1@xxxxxxxxxxxxxxxxxxxxxxx -format "%s\n" State
Owner
[515 bcotton@condor-fe00 ~ ]$
--
Ben Cotton
Systems Research Engineer
IT Research Systems
Purdue University