1just-man-pages/condor_findhosGte(n1e)ral Commands Mjaunsuta-lman-pages/condor_findhost(1)
2
3
4
6 condor_findhost find machine(s) in the pool that can be used with mini‐
7 mal impact on currently running Condor jobs and best meet any specified
8 constraints
9
11 condor_findhost [ -help ] [ -m ] [ -n num ] [ -c c_expr ] [ -r r_expr ]
12 [ -p centralmanagerhostname ]
13
15 condor_findhost searches a Condor pool of machines for the best machine
16 or machines that will have the minimum impact on running Condor jobs if
17 the machine or machines are taken out of the pool. The search may be
18 limited to the machine or machines that match a set of constraints and
19 rank expression.
20
21 condor_findhost returns a fully-qualified domain name for each machine.
22 The search is limited (constrained) to a specific set of machines using
23 the -c option. The search can use the -r option for rank, the criterion
24 used for selecting a machine or machines from the constrained list.
25
27 -help
28
29 Display usage information and exit
30
31
32
33 -m
34
35 Only search for entire machines. Slots within an entire machine are
36 not considered.
37
38
39
40 -n num
41
42 Find and list up to num machines that fulfill the specification.
43 num is an integer greater than zero.
44
45
46
47 -c c_expr
48
49 Constrain the search to only consider machines that result from the
50 evaluation of c_expr . c_expr is a ClassAd expression.
51
52
53
54 -r r_expr
55
56 r_expr is the rank expression evaluated to use as a basis for
57 machine selection. r_expr is a ClassAd expression.
58
59
60
61 -p centralmanagerhostname
62
63 Specify the pool to be searched by giving the central manager's host
64 name. Without this option, the current pool is searched.
65
66
67
69 condor_findhost is used to locate a machine within a pool that can be
70 taken out of the pool with the least disturbance of the pool.
71
72 An administrator should set preemption requirements for the Condor
73 pool. The expression
74
75 (Interactive =?= TRUE )
76
77 will let condor_findhost know that it can claim a machine even if Con‐
78 dor would not normally preempt a job running on that machine.
79
81 The exit status of condor_findhost is zero on success. If not able to
82 identify as many machines as requested, it returns one more than the
83 number of machines identified. For example, if 8 machines are
84 requested, and condor_findhost only locates 6, the exit status will be
85 7. If not able to locate any machines, or an error is encountered, con‐
86 dor_findhost will return the value 1.
87
89 To find and list four machines, preferring those with the highest mips
90 (on Drystone benchmark) rating:
91
92 condor_findhost -n 4 -r "mips"
93
94 To find and list 24 machines, considering only those where the kflop‐
95 sattribute is not defined:
96
97 condor_findhost -n 24 -c "kflops=?=undefined"
98
100 Condor Team, University of Wisconsin-Madison
101
103 Copyright (C) 1990-2009 Condor Team, Computer Sciences Department, Uni‐
104 versity of Wisconsin-Madison, Madison, WI. All Rights Reserved.
105 Licensed under the Apache License, Version 2.0.
106
107 See the Condor Version 7.4.2 Manual or http://www.condorpro‐
108 ject.org/licensefor additional notices.
109
110 condor-admin@cs.wisc.edu
111
112
113
114 date just-man-pages/condor_findhost(1)