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

[Condor-users] condor node status



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:
 
[root@serv07 ~]# condor_status farm011 && echo $?

Name               OpSys      Arch   State     Activity LoadAv Mem   ActvtyTime

slot1@xxxxxxxxxxx. LINUX      X86_64 Unclaimed Idle     0.000  1995  0+00:00:04
slot2@xxxxxxxxxxx. LINUX      X86_64 Unclaimed Idle     0.000  1995  0+00:00:05
slot3@xxxxxxxxxxx. LINUX      X86_64 Unclaimed Idle     0.000  1995  0+00:00:06
slot4@xxxxxxxxxxx. LINUX      X86_64 Unclaimed Idle     0.000  1995  0+00:00:07
                     Total Owner Claimed Unclaimed Matched Preempting Backfill

        X86_64/LINUX     4     0       0         4       0          0        0

               Total     4     0       0         4       0          0        0
0

[root@serv07 ~]# condor_status farm001 && echo $?
0

What else I can do about it?

Cheers,
Santanu