1just-man-pages/condor_userpriGoe(n1e)ral Commands Mjaunsuta-lman-pages/condor_userprio(1)
2
3
4

Name

6       condor_userprio Manage user priorities
7

Synopsis

9       condor_userprio -help
10
11       condor_userprio  [  -pool  centralmanagerhostname[:portnumber] ] [ Edit
12       option ] [ Display options ] [ -inputfile filename ]
13

Description

15       condor_userprio either modifies priority-related  information  or  dis‐
16       plays  priority-related  information.  Displayed information comes from
17       the accountant log, where the condor_negotiator daemon stores  histori‐
18       cal  usage  information  in the file at   $(SPOOL) /Accountantnew.log .
19       Which fields are displayed changes based  on  command  line  arguments.
20       condor_userprio  with  no  arguments, lists the active users along with
21       their priorities, in increasing priority order. The -all option can  be
22       used to display more detailed information about each user, resulting in
23       a rather wide display, and includes the following columns:
24
25       Effective Priority
26
27          The effective priority value of the user, which is used to calculate
28          the  user's  share  when allocating resources. A lower value means a
29          higher priority, and the minimum value (highest  priority)  is  0.5.
30          The  effective priority is calculated by multiplying the real prior‐
31          ity by the priority factor.
32
33
34
35       Real Priority
36
37          The value of the real priority of the user. This value  follows  the
38          user's resource usage.
39
40
41
42       Priority Factor
43
44          The system administrator can set this value for each user, thus con‐
45          trolling a user's effective priority relative to other  users.  This
46          can be used to create different classes of users.
47
48
49
50       Res Used
51
52          The number of resources currently used.
53
54
55
56       Accumulated Usage
57
58          The  accumulated number of resource-hours used by the user since the
59          usage start time.
60
61
62
63       Usage Start Time
64
65          The time since when usage has been recorded for the user. This  time
66          is  set  when a user job runs for the first time. It is reset to the
67          present time when the usage for the user is reset.
68
69
70
71       Last Usage Time
72
73          The most recent time a resource usage  has  been  recorded  for  the
74          user.
75
76
77
78       By default only users for whom usage was recorded in the last 24 hours,
79       or whose priority is greater than the minimum are listed.
80
81       The -pool option can be used to contact  a  different  central  manager
82       than the local one (the default).
83
84       For  security  purposes of authentication and authorization, specifying
85       an Edit Option requires the ADMINISTRATOR level of access.
86

Options

88       -help
89
90          Display usage information and exit.
91
92
93
94
95
96       -pool centralmanagerhostname[:portnumber]
97
98          Contact the specified centralmanagerhostname with an  optional  port
99          number,  instead  of  the local central manager. This can be used to
100          check other pools. NOTE: The host name (and optional port) specified
101          refer  to the host name (and port) of the condor_negotiator to query
102          for user priorities. This is slightly different than  most  HTCondor
103          tools  that support a -pool option, and instead expect the host name
104          (and port) of the condor_collector .
105
106
107
108
109
110       -inputfile filename
111
112          Introduced for debugging purposes, read  priority  information  from
113          filename  .  The contents of filename are expected to be the same as
114          captured output from running a  condor_userprio -long command.
115
116
117
118
119
120       -delete username
121
122          (Edit option) Remove the specified username from HTCondor's account‐
123          ing.
124
125
126
127
128
129       -resetall
130
131          (Edit option) Reset the accumulated usage of all the users to zero.
132
133
134
135
136
137       -resetusage username
138
139          (Edit  option)  Reset the accumulated usage of the user specified by
140          username to zero.
141
142
143
144
145
146       -setaccum username value
147
148          (Edit option) Set the accumulated usage of  the  user  specified  by
149          username to the specified floating point value .
150
151
152
153
154
155       -setbegin username value
156
157          (Edit  option)  Set  the  begin  usage time of the user specified by
158          username to the specified value .
159
160
161
162
163
164       -setfactor username value
165
166          (Edit option) Set the priority factor of the user specified by user‐
167          name to the specified value .
168
169
170
171
172
173       -setlast username value
174
175          (Edit option) Set the last usage time of the user specified by user‐
176          name to the specified value .
177
178
179
180
181
182       -setprio username value
183
184          (Edit option) Set the real priority of the user specified  by  user‐
185          name to the specified value .
186
187
188
189
190
191       -activefrom month day year
192
193          (Display  option)  Display  information  for  users  who  have  some
194          recorded accumulated usage since the specified date.
195
196
197
198
199
200       -all
201
202          (Display option) Display all available fields about  each  group  or
203          user.
204
205
206
207
208
209       -allusers
210
211          (Display option) Display information for all the users who have some
212          recorded accumulated usage.
213
214
215
216
217
218       -negotiator
219
220          (Display option) Force the query to come from the negotiator instead
221          of the collector.
222
223
224
225
226
227       -autoformat[:jlhVr,tng]  attr1  [attr2  ...]   or -af[:jlhVr,tng] attr1
228       [attr2 ...]
229
230          (Display option) Display attribute(s) or expression(s) formatted  in
231          a  default  way  according  to attribute types. This option takes an
232          arbitrary number of attribute names as  arguments,  and  prints  out
233          their  values, with a space between each value and a newline charac‐
234          ter after the last value. It is like the -format option without for‐
235          mat strings.
236
237          It  is  assumed that no attribute names begin with a dash character,
238          so that the next word that begins with dash is the start of the next
239          option.  The  autoformat option may be followed by a colon character
240          and formatting qualifiers to deviate the output formatting from  the
241          default:
242
243          j print the job ID as the first field,
244
245          l label each field,
246
247          h print column headings before the first line of output,
248
249          V use %V rather than %v for formatting (string values are quoted),
250
251          r print "raw", or unevaluated values,
252
253          , add a comma character after each field,
254
255          t add a tab character before each field instead of the default space
256          character,
257
258          n add a newline character after each field,
259
260          g add a newline character  between  ClassAds,  and  suppress  spaces
261          before each field.
262
263          Use -af:h to get tabular values with headings.
264
265          Use -af:lrng to get -long equivalent format.
266
267          The newline and comma characters may not be used together. The l and
268          h characters may not be used together.
269
270
271
272
273
274       -constraint <expr>
275
276          (Display option) To be used in conjunction with the  -long  -modular
277          or the -autoformat options. Displays users and groups that match the
278          <expr> .
279
280
281
282
283
284       -debug[:<opts>]
285
286          (Display option) Without :<opts>  specified,  use  configured  debug
287          level  to send debugging output to  stderr . With :<opts> specified,
288          these options are debug levels that override  any  configured  debug
289          levels  for  this  command's  execution  to send debugging output to
290          stderr .
291
292
293
294
295
296       -flat
297
298          (Display option) Display information such that users within  hierar‐
299          chical groups are not listed with their group.
300
301
302
303
304
305       -getreslist username
306
307          (Display  option)  Display  all the resources currently allocated to
308          the user specified by username .
309
310
311
312
313
314       -grouporder
315
316          (Display option) Display submitter information with accounting group
317          entries  at  the  top of the list, and in breadth-first order within
318          the group hierarchy tree.
319
320
321
322
323
324       -grouprollup
325
326          (Display option) For hierarchical groups, the display shows sums  as
327          computed for groups, and these sums include sub groups.
328
329
330
331
332
333       -hierarchical
334
335          (Display  option) Display information such that users within hierar‐
336          chical groups are listed with their group.
337
338
339
340
341
342       -legacy
343
344          (Display option) For use with the -long option,  displays  attribute
345          names and values as a single ClassAd.
346
347
348
349
350
351       -long
352
353          (Display option) A verbose output which displays entire ClassAds.
354
355
356
357
358
359       -modular
360
361          (Display  option)  Modifies the display when using the -long option,
362          such that attribute names and values are shown as distinct ClassAds.
363
364
365
366
367
368       -most
369
370          (Display option) Display fields considered to be  the  most  useful.
371          This is the default set of fields displayed.
372
373
374
375
376
377       -priority
378
379          (Display option) Display fields with user priority information.
380
381
382
383
384
385       -quotas
386
387          (Display  option) Display fields relevant to hierarchical group quo‐
388          tas.
389
390
391
392
393
394       -usage
395
396          (Display option) Display usage information for each group or user.
397
398
399
400
401

Examples

403       Example 1 Since the output varies due to command line  arguments,  here
404       is  an example of the default output for a pool that does not use Hier‐
405       archical Group Quotas. This default output is the same  as  given  with
406       the -most Display option.
407
408       Last Priority Update:  1/19 13:14
409                               Effective    Priority   Res   Total Usage  Time
410       Since
411       User Name                Priority    Factor   In Use (wghted-hrs)  Last
412       Usage
413       ----------------------   ------------   ---------  ------  ------------
414       ----------
415       www-cndr@cs.wisc.edu            0.56       1.00        0      591998.44
416       0+16:30
417       joey@cs.wisc.edu               1.00      1.00      1       990.15 <now>
418       suzy@cs.wisc.edu                 1.53        1.00       0        261.78
419       0+09:31
420       leon@cs.wisc.edu               1.63      1.00      2     12597.82 <now>
421       raj@cs.wisc.edu                 3.34       1.00        0        8049.48
422       0+01:39
423       jose@cs.wisc.edu               3.62      1.00      4     58137.63 <now>
424       betsy@cs.wisc.edu               13.47        1.00       0       1475.31
425       0+22:46
426       petra@cs.wisc.edu            266.02    500.00      1    288082.03 <now>
427       carmen@cs.wisc.edu           329.87     10.00    634   2685305.25 <now>
428       carlos@cs.wisc.edu            687.36      10.00        0       76555.13
429       0+14:31
430       ali@proj1.wisc.edu            5000.00    10000.00       0       1315.56
431       0+03:33
432       apu@nnland.edu               5000.00   10000.00        0         482.63
433       0+09:56
434       pop@proj1.wisc.edu         26688.11  10000.00      1     49560.88 <now>
435       franz@cs.wisc.edu          29352.06    500.00    109    600277.88 <now>
436       martha@nnland.edu            58030.94    10000.00       0      48212.79
437       0+12:32
438       izzi@nnland.edu             62106.40   10000.00        0        6569.75
439       0+02:26
440       marta@cs.wisc.edu          62577.84    500.00     29    193706.30 <now>
441       kris@proj1.wisc.edu         100597.94    10000.00       0      20814.24
442       0+04:26
443       boss@proj1.wisc.edu       318229.25  10000.00      3    324680.47 <now>
444       ----------------------  ------------  ---------   ------   ------------
445       ----------
446       Number   of  users:  19                               784    4969073.00
447       0+23:59
448
449       Example 2 This is an example of the default output for a pool that uses
450       hierarchical  groups,  and  the  groups accept surplus. This leads to a
451       very wide display.
452
453       % condor_userprio -pool crane.cs.wisc.edu -allusers
454       Last Priority Update:  1/19 13:18
455       Group                                   Config       Use      Effective
456       Priority   Res   Total Usage  Time Since
457         User   Name                              Quota    Surplus    Priority
458       Factor   In Use (wghted-hrs) Last Usage
459       ------------------------------------  ---------  -------   ------------
460       --------- ------ ------------ ----------
461       <none>                                             0.00             yes
462       1.00      0         6.78    9+03:52
463         johnsm@crane.cs.wisc.edu                                         0.50
464       1.00      0         6.62    9+19:42
465         John.Smith@crane.cs.wisc.edu                                     0.50
466       1.00      0         0.02    9+03:52
467         Sedge@crane.cs.wisc.edu                                          0.50
468       1.00      0         0.05   13+03:03
469         Duck@crane.cs.wisc.edu                                           0.50
470       1.00      0         0.02   31+00:28
471         other@crane.cs.wisc.edu                                          0.50
472       1.00      0         0.04   16+03:42
473       Duck                                               2.00              no
474       1.00      0         0.02   13+02:57
475         goose@crane.cs.wisc.edu                                          0.50
476       1.00      0         0.02   13+02:57
477       Sedge                                              4.00              no
478       1.00      0         0.17    9+03:07
479         johnsm@crane.cs.wisc.edu                                         0.50
480       1.00      0         0.13    9+03:08
481         Half@crane.cs.wisc.edu                                           0.50
482       1.00      0         0.02   31+00:02
483         John.Smith@crane.cs.wisc.edu                                     0.50
484       1.00      0         0.05    9+03:07
485         other@crane.cs.wisc.edu                                          0.50
486       1.00      0         0.01   28+19:34
487       ------------------------------------  ---------  -------   ------------
488       --------- ------ ------------ ----------
489       Number      of     users:     10                                ByQuota
490       0         6.97
491

Exit Status

493       condor_userprio will exit with a status value of 0 (zero) upon success,
494       and it will exit with the value 1 (one) upon failure.
495

Author

497       Center for High Throughput Computing, University of Wisconsin-Madison
498
500       Copyright  (C) 1990-2018 Center for High Throughput Computing, Computer
501       Sciences Department, University of Wisconsin-Madison, Madison, WI.  All
502       Rights Reserved. Licensed under the Apache License, Version 2.0.
503
504
505
506                                     date    just-man-pages/condor_userprio(1)
Impressum