Dear HTCondor Users,
Every year we need to report on the HTCondor resources usage from July 01 last year to June 30 of the current year, especially for certain heavy users.
According to suggestion from many colleagues, the command "condor_userprio -usage -allusers" really works and product the following printout:
Last Priority Update: 9/14 11:57
Res Total Usage Usage Last
User Name In Use (wghted-hrs) Start Time Usage Time
---------------------- ------ ------------ ---------------- ----------------
user1 0 7.49 10/02/2013 11:47 10/02/2013 15:41
user2 0 25.27 8/17/2014 17:28 8/31/2015 22:32
user3@site1
0 3086.54 12/04/2013 20:34 12/05/2013 08:38
user4@site2
0 6483.67 12/06/2013 20:34 3/17/2014 20:35
...
---------------------- ------ ------------ ---------------- ----------------
Number of users: 9 346 1531773.25
(1) My question 1, is there any way to modify ALL the user start_time to 1/07/2014 00:00 and last usage time to
30/06/2015 23:59?
(2) If no, in the manual I can still find an option
-setbegin {username} value
Therefore I attempted to try on certain heavy users, say
user4@site2 this case.
condor_userprio -usage -setbegin user4@site2 "12/06/2013 20:34"
condor_userprio -usage -setbegin user4@site2 "12/06/2013"
condor_userprio -usage -setbegin user4@site2 12/06/2013
In all cases the system only displayed that
"The Begin Usage Time of user4@site2 was set to 12"
But when I re-issued the command
condor_userprio -usage -allusers
There was no change to the display, i.e. still
User Name In Use (wghted-hrs) Start Time Usage Time
---------------------- ------ ------------ ---------------- ----------------
user1 0 7.49 10/02/2013 11:47 10/02/2013 15:41
user2 0 25.27 8/17/2014 17:28 8/31/2015 22:32
user3@site1
0 3086.54 12/04/2013 20:34 12/05/2013 08:38
user4@site2
0 6483.67 12/06/2013 20:34 3/17/2014 20:35
...
---------------------- ------ ------------ ---------------- ----------------
Number of users: 9 346 1531773.25
My question(2), WHAT is format of value that the option "-setbegin {username}" is expecting,
and whether it will work as I guess?
(3) If the "userprio" command cannot serve the purpose, will it be better to use the "condor_history" command?
Thanks in advance.
WK Kwan
Information Technology Services
The University of Hongkong