.\"Man page for condor_userprio .\"Generated by makeman on Tue May 29 00:38:53 2018 .TH condor_userprio 1 "May 2018" .SH Name .P condor_userprio Manage \- user priorities .P .SH Synopsis condor_userprio -help .P condor_userprio[-pool centralmanagerhostname[:portnumber]] [Edit option] [Display options] [-inputfile filename] .P .SH Description condor_userprio either modifies priority-related information or displays priority-related information. Displayed information comes from the accountant log, where the condor_negotiatordaemon stores historical usage information in the file at $(SPOOL) /Accountantnew.log . Which fields are displayed changes based on command line arguments. condor_userprio with no arguments, lists the active users along with their priorities, in increasing priority order. The -alloption can be used to display more detailed information about each user, resulting in a rather wide display, and includes the following columns: .P .B Effective Priority .IP "" 3 The effective priority value of the user, which is used to calculate the user's share when allocating resources. A lower value means a higher priority, and the minimum value (highest priority) is 0.5. The effective priority is calculated by multiplying the real priority by the priority factor. .IP "" 3 .P .B Real Priority .IP "" 3 The value of the real priority of the user. This value follows the user's resource usage. .IP "" 3 .P .B Priority Factor .IP "" 3 The system administrator can set this value for each user, thus controlling a user's effective priority relative to other users. This can be used to create different classes of users. .IP "" 3 .P .B Res Used .IP "" 3 The number of resources currently used. .IP "" 3 .P .B Accumulated Usage .IP "" 3 The accumulated number of resource-hours used by the user since the usage start time. .IP "" 3 .P .B Usage Start Time .IP "" 3 The time since when usage has been recorded for the user. This time is set when a user job runs for the first time. It is reset to the present time when the usage for the user is reset. .IP "" 3 .P .B Last Usage Time .IP "" 3 The most recent time a resource usage has been recorded for the user. .IP "" 3 .P By default only users for whom usage was recorded in the last 24 hours, or whose priority is greater than the minimum are listed. .P The -pooloption can be used to contact a different central manager than the local one (the default). .P For security purposes of authentication and authorization, specifying an Edit Option requires the ADMINISTRATOR level of access. .P .SH Options .P .B -help .IP "" 3 Display usage information and exit. .IP "" 3 .IP "" 3 .P .B -pool centralmanagerhostname[:portnumber] .IP "" 3 Contact the specified centralmanagerhostnamewith an optional port number, instead of the local central manager. This can be used to check other pools. NOTE: The host name (and optional port) specified refer to the host name (and port) of the condor_negotiatorto query for user priorities. This is slightly different than most HTCondor tools that support a -pooloption, and instead expect the host name (and port) of the condor_collector. .IP "" 3 .IP "" 3 .P .B -inputfile filename .IP "" 3 Introduced for debugging purposes, read priority information from filename. The contents of filenameare expected to be the same as captured output from running a condor_userprio -long command. .IP "" 3 .IP "" 3 .P .B -delete username .IP "" 3 (Edit option) Remove the specified usernamefrom HTCondor's accounting. .IP "" 3 .IP "" 3 .P .B -resetall .IP "" 3 (Edit option) Reset the accumulated usage of all the users to zero. .IP "" 3 .IP "" 3 .P .B -resetusage username .IP "" 3 (Edit option) Reset the accumulated usage of the user specified by usernameto zero. .IP "" 3 .IP "" 3 .P .B -setaccum username value .IP "" 3 (Edit option) Set the accumulated usage of the user specified by usernameto the specified floating point value. .IP "" 3 .IP "" 3 .P .B -setbegin username value .IP "" 3 (Edit option) Set the begin usage time of the user specified by usernameto the specified value. .IP "" 3 .IP "" 3 .P .B -setfactor username value .IP "" 3 (Edit option) Set the priority factor of the user specified by usernameto the specified value. .IP "" 3 .IP "" 3 .P .B -setlast username value .IP "" 3 (Edit option) Set the last usage time of the user specified by usernameto the specified value. .IP "" 3 .IP "" 3 .P .B -setprio username value .IP "" 3 (Edit option) Set the real priority of the user specified by usernameto the specified value. .IP "" 3 .IP "" 3 .P .B -activefrom month day year .IP "" 3 (Display option) Display information for users who have some recorded accumulated usage since the specified date. .IP "" 3 .IP "" 3 .P .B -all .IP "" 3 (Display option) Display all available fields about each group or user. .IP "" 3 .IP "" 3 .P .B -allusers .IP "" 3 (Display option) Display information for all the users who have some recorded accumulated usage. .IP "" 3 .IP "" 3 .P .B -negotiator .IP "" 3 (Display option) Force the query to come from the negotiator instead of the collector. .IP "" 3 .IP "" 3 .P .B -autoformat[:jlhVr,tng] attr1 [attr2 ...]or -af[:jlhVr,tng] attr1 [attr2 ...] .IP "" 3 (Display option) Display attribute(s) or expression(s) formatted in a default way according to attribute types. This option takes an arbitrary number of attribute names as arguments, and prints out their values, with a space between each value and a newline character after the last value. It is like the -formatoption without format strings. .IP "" 3 It is assumed that no attribute names begin with a dash character, so that the next word that begins with dash is the start of the next option. The autoformatoption may be followed by a colon character and formatting qualifiers to deviate the output formatting from the default: .IP "" 3 jprint the job ID as the first field, .IP "" 3 llabel each field, .IP "" 3 hprint column headings before the first line of output, .IP "" 3 Vuse %V rather than %v for formatting (string values are quoted), .IP "" 3 rprint "raw", or unevaluated values, .IP "" 3 ,add a comma character after each field, .IP "" 3 tadd a tab character before each field instead of the default space character, .IP "" 3 nadd a newline character after each field, .IP "" 3 gadd a newline character between ClassAds, and suppress spaces before each field. .IP "" 3 Use -af:hto get tabular values with headings. .IP "" 3 Use -af:lrngto get -long equivalent format. .IP "" 3 The newline and comma characters may notbe used together. The land hcharacters may notbe used together. .IP "" 3 .IP "" 3 .P .B -constraint .IP "" 3 (Display option) To be used in conjunction with the -long-modularor the -autoformatoptions. Displays users and groups that match the . .IP "" 3 .IP "" 3 .P .B -debug[:] .IP "" 3 (Display option) Without :specified, use configured debug level to send debugging output to stderr . With :specified, these options are debug levels that override any configured debug levels for this command's execution to send debugging output to stderr . .IP "" 3 .IP "" 3 .P .B -flat .IP "" 3 (Display option) Display information such that users within hierarchical groups are notlisted with their group. .IP "" 3 .IP "" 3 .P .B -getreslist username .IP "" 3 (Display option) Display all the resources currently allocated to the user specified by username. .IP "" 3 .IP "" 3 .P .B -grouporder .IP "" 3 (Display option) Display submitter information with accounting group entries at the top of the list, and in breadth-first order within the group hierarchy tree. .IP "" 3 .IP "" 3 .P .B -grouprollup .IP "" 3 (Display option) For hierarchical groups, the display shows sums as computed for groups, and these sums include sub groups. .IP "" 3 .IP "" 3 .P .B -hierarchical .IP "" 3 (Display option) Display information such that users within hierarchical groups are listed with their group. .IP "" 3 .IP "" 3 .P .B -legacy .IP "" 3 (Display option) For use with the -longoption, displays attribute names and values as a single ClassAd. .IP "" 3 .IP "" 3 .P .B -long .IP "" 3 (Display option) A verbose output which displays entire ClassAds. .IP "" 3 .IP "" 3 .P .B -modular .IP "" 3 (Display option) Modifies the display when using the -longoption, such that attribute names and values are shown as distinct ClassAds. .IP "" 3 .IP "" 3 .P .B -most .IP "" 3 (Display option) Display fields considered to be the most useful. This is the default set of fields displayed. .IP "" 3 .IP "" 3 .P .B -priority .IP "" 3 (Display option) Display fields with user priority information. .IP "" 3 .IP "" 3 .P .B -quotas .IP "" 3 (Display option) Display fields relevant to hierarchical group quotas. .IP "" 3 .IP "" 3 .P .B -usage .IP "" 3 (Display option) Display usage information for each group or user. .IP "" 3 .IP "" 3 .P .SH Examples .P Example 1Since the output varies due to command line arguments, here is an example of the default output for a pool that does not use Hierarchical Group Quotas. This default output is the same as given with the -mostDisplay option. .P .br Last Priority Update: 1/19 13:14 .br Effective Priority Res Total Usage Time Since .br User Name Priority Factor In Use (wghted-hrs) Last Usage .br ---------------------- ------------ --------- ------ ------------ ---------- .br www-cndr@cs.wisc.edu 0.56 1.00 0 591998.44 0+16:30 .br joey@cs.wisc.edu 1.00 1.00 1 990.15 .br suzy@cs.wisc.edu 1.53 1.00 0 261.78 0+09:31 .br leon@cs.wisc.edu 1.63 1.00 2 12597.82 .br raj@cs.wisc.edu 3.34 1.00 0 8049.48 0+01:39 .br jose@cs.wisc.edu 3.62 1.00 4 58137.63 .br betsy@cs.wisc.edu 13.47 1.00 0 1475.31 0+22:46 .br petra@cs.wisc.edu 266.02 500.00 1 288082.03 .br carmen@cs.wisc.edu 329.87 10.00 634 2685305.25 .br carlos@cs.wisc.edu 687.36 10.00 0 76555.13 0+14:31 .br ali@proj1.wisc.edu 5000.00 10000.00 0 1315.56 0+03:33 .br apu@nnland.edu 5000.00 10000.00 0 482.63 0+09:56 .br pop@proj1.wisc.edu 26688.11 10000.00 1 49560.88 .br franz@cs.wisc.edu 29352.06 500.00 109 600277.88 .br martha@nnland.edu 58030.94 10000.00 0 48212.79 0+12:32 .br izzi@nnland.edu 62106.40 10000.00 0 6569.75 0+02:26 .br marta@cs.wisc.edu 62577.84 500.00 29 193706.30 .br kris@proj1.wisc.edu 100597.94 10000.00 0 20814.24 0+04:26 .br boss@proj1.wisc.edu 318229.25 10000.00 3 324680.47 .br ---------------------- ------------ --------- ------ ------------ ---------- .br Number of users: 19 784 4969073.00 0+23:59 .P Example 2This is an example of the default output for a pool that uses hierarchical groups, and the groups accept surplus. This leads to a very wide display. .P .br % condor_userprio -pool crane.cs.wisc.edu -allusers .br Last Priority Update: 1/19 13:18 .br Group Config Use Effective Priority Res Total Usage Time Since .br User Name Quota Surplus Priority Factor In Use (wghted-hrs) Last Usage .br ------------------------------------ --------- ------- ------------ --------- ------ ------------ ---------- .br 0.00 yes 1.00 0 6.78 9+03:52 .br johnsm@crane.cs.wisc.edu 0.50 1.00 0 6.62 9+19:42 .br John.Smith@crane.cs.wisc.edu 0.50 1.00 0 0.02 9+03:52 .br Sedge@crane.cs.wisc.edu 0.50 1.00 0 0.05 13+03:03 .br Duck@crane.cs.wisc.edu 0.50 1.00 0 0.02 31+00:28 .br other@crane.cs.wisc.edu 0.50 1.00 0 0.04 16+03:42 .br Duck 2.00 no 1.00 0 0.02 13+02:57 .br goose@crane.cs.wisc.edu 0.50 1.00 0 0.02 13+02:57 .br Sedge 4.00 no 1.00 0 0.17 9+03:07 .br johnsm@crane.cs.wisc.edu 0.50 1.00 0 0.13 9+03:08 .br Half@crane.cs.wisc.edu 0.50 1.00 0 0.02 31+00:02 .br John.Smith@crane.cs.wisc.edu 0.50 1.00 0 0.05 9+03:07 .br other@crane.cs.wisc.edu 0.50 1.00 0 0.01 28+19:34 .br ------------------------------------ --------- ------- ------------ --------- ------ ------------ ---------- .br Number of users: 10 ByQuota 0 6.97 .P .SH Exit Status .P condor_userpriowill exit with a status value of 0 (zero) upon success, and it will exit with the value 1 (one) upon failure. .P .SH Author Center for High Throughput Computing, University of Wisconsin-Madison .SH Copyright Copyright (C) 1990-2016 Center for High Throughput Computing, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI. All Rights Reserved. Licensed under the Apache License, Version 2.0.