Using condor_status
Using condor_status
to gather information
What CPU models are part of the pool?
condor_status -af cpuinfo_model_name \
-constraint 'SlotType == "Partitionable"' \
| sort | uniq -c`
could yield:
1768 Intel(R) Xeon(R) CPU E3-1220 v3 @ 3.10GHz
269 Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz
51 Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz
513 Intel(R) Xeon(R) CPU E5-2658 v4 @ 2.30GHz
Which means, e.g., 1768 machines with Intels E3-1220v3 are currently part of the condor pool.
What resources are currently available?##
This question is much harder to answer as usually the results change rapidly. Condor does match resources to jobs on a per minute basis, i.e. your results will likely be outdated as these are displayed.
CPU cores
This query shows the number of currently not occupied CPU cores (along with type):
condor_status -af cpus cpuinfo_model_name \
-constraint 'SlotType == "Partitionable" && cpus > 0' \
|sort|uniq -c
At the time of writing this output was created:
108 1 Intel(R) Xeon(R) CPU E3-1220 v3 @ 3.10GHz
31 1 Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz
89 1 Intel(R) Xeon(R) CPU E5-2658 v4 @ 2.30GHz
6 2 Intel(R) Xeon(R) CPU E3-1220 v3 @ 3.10GHz
6 2 Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz
21 2 Intel(R) Xeon(R) CPU E5-2658 v4 @ 2.30GHz
2 3 Intel(R) Xeon(R) CPU E5-2658 v4 @ 2.30GHz
2 4 Intel(R) Xeon(R) CPU E3-1220 v3 @ 3.10GHz
2 56 Intel(R) Xeon(R) CPU E5-2658 v4 @ 2.30GHz
Thus, for example, 31 machines with Intels E3-1231v3 had one core not occupied. Please note, that machines may be visible by this query, but may be restricted to run “special” jobs like the 2 machines with 56 available cores.
RAM
condor_status -af memory \
-constraint 'SlotType == "Partitionable" && cpus > 0' \
| ~/.local/bin/histogram.py --no-mvsd -b 25
will yield a histogram how much memory is available right now wherever at least on CPU core is currently free:
# NumSamples = 148; Min = 140.00; Max = 124445.00
# each ∎ represents a count of 1
140.0000 - 5112.2000 [ 49]: ∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
5112.2000 - 10084.4000 [ 12]: ∎∎∎∎∎∎∎∎∎∎∎∎
10084.4000 - 15056.6000 [ 9]: ∎∎∎∎∎∎∎∎∎
15056.6000 - 20028.8000 [ 0]:
20028.8000 - 25001.0000 [ 0]:
25001.0000 - 29973.2000 [ 0]:
29973.2000 - 34945.4000 [ 0]:
34945.4000 - 39917.6000 [ 1]: ∎
39917.6000 - 44889.8000 [ 0]:
44889.8000 - 49862.0000 [ 1]: ∎
49862.0000 - 54834.2000 [ 5]: ∎∎∎∎∎
54834.2000 - 59806.4000 [ 4]: ∎∎∎∎
59806.4000 - 64778.6000 [ 12]: ∎∎∎∎∎∎∎∎∎∎∎∎
64778.6000 - 69750.8000 [ 25]: ∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
69750.8000 - 74723.0000 [ 21]: ∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
74723.0000 - 79695.2000 [ 4]: ∎∎∎∎
79695.2000 - 84667.4000 [ 3]: ∎∎∎
84667.4000 - 89639.6000 [ 1]: ∎
89639.6000 - 94611.8000 [ 0]:
94611.8000 - 99584.0000 [ 0]:
99584.0000 - 104556.2000 [ 0]:
104556.2000 - 109528.4000 [ 0]:
109528.4000 - 114500.6000 [ 0]:
114500.6000 - 119472.8000 [ 0]:
119472.8000 - 124445.0000 [ 1]: ∎