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

[HTCondor-users] Another python binding question : equivalent of condor_status ?



Hi,

When I type condor_status from the command line, I get information about the nodes that can run jobs.  Iâve tried many things with the python binding (e.g. querying the collector) but I canât find a query that will give me only the worker nodes (or execution points in condorspeak).  How to do it?

Thanks

JT

$ condor_status -total  -af:h Name Cpus State
slot1@xxxxxxxxxxxxxxxxxxxxx    64   Unclaimed
slot1@xxxxxxxxxxxxxxxxxxxxx    64   Unclaimed
slot1@xxxxxxxxxxxxxxxxxxxxx    64   Unclaimed
slot1@xxxxxxxxxxxxxxxxxxxx     64   Unclaimed
slot1@xxxxxxxxxxxxxxxxxxxxx    27   Unclaimed
slot1_2@xxxxxxxxxxxxxxxxxxxxx  1    Claimed
slot1_13@xxxxxxxxxxxxxxxxxxxxx 1    Claimed
slot1_19@xxxxxxxxxxxxxxxxxxxxx 1    Claimed
slot1_27@xxxxxxxxxxxxxxxxxxxxx 1    Claimed
slot1_30@xxxxxxxxxxxxxxxxxxxxx 1    Claimed
slot1@xxxxxxxxxxxxxxxxxxxxx    27   Unclaimed
slot1_2@xxxxxxxxxxxxxxxxxxxxx  1    Claimed
slot1_14@xxxxxxxxxxxxxxxxxxxxx 1    Claimed
slot1_16@xxxxxxxxxxxxxxxxxxxxx 1    Claimed
slot1_29@xxxxxxxxxxxxxxxxxxxxx 1    Claimed
slot1_32@xxxxxxxxxxxxxxxxxxxxx 1    Claimed
slot1@xxxxxxxxxxxxxxxxxxxxx    30   Unclaimed
slot1_1@xxxxxxxxxxxxxxxxxxxxx  1    Claimed
slot1_2@xxxxxxxxxxxxxxxxxxxxx  1    Claimed
slot1@xxxxxxxxxxxxxxxxxxxxx    31   Unclaimed
slot1_2@xxxxxxxxxxxxxxxxxxxxx  1    Claimed
slot1@xxxxxxxxxxxxxxxxxxxxx    32   Unclaimed
slot1@xxxxxxxxxxxxxxxxxxxxx    32   Unclaimed