Hi Todd,
Many thanks for the clarification. It indeed helped at lot to
understand.
I tried with "-activefrom" and the total is still a bit high:
[root@serv07 etc]# condor_userprio -usage -activefrom 01 01 2011 | grep group_atlas
group_atlas.atlas054@xxxxxxxxx 0.47 1/06/2011 20:48 1/06/2011 21:16
group_atlas.sgmatlas@xxxxxxxxx 269.25 11/17/2010 15:18 1/10/2011 21:47
group_atlas.atlas053@xxxxxxxxx 789.46 11/17/2010 15:31 1/10/2011 21:47
group_atlas.atlas084@xxxxxxxxx 1577.70 11/19/2010 19:47 1/10/2011 21:47
group_atlas.pltatl16@xxxxxxxxx 10693.51 11/19/2010 16:40 1/10/2011 21:39
group_atlas.pltatl19@xxxxxxxxx 11128.66 11/19/2010 16:17 1/10/2011 21:47
group_atlas.prdatl07@xxxxxxxxx 37514.59 11/18/2010 22:19 1/10/2011 21:47
group_atlas.prdatl13@xxxxxxxxx 49728.80 11/18/2010 22:13 1/10/2011 21:46
group_atlas 120055.55 11/17/2010 15:18 1/10/2011 21:47
If I didn't do silly mistake, the total should be 111702.44 as
oppose to 120055.55 - any thought about that?
What I actually need (for my specific purpose), to get the figure
group wise. So a "-group" option would be really helpful for some of
us. Is there any way to get that the present moment?
I probably can do this to get the fugure:
[root@serv07 etc]# condor_userprio -usage -activefrom 01 01 2011 | grep -v "@"
Last Priority Update: 1/10 21:58
Total Usage Usage Last
User Name (wghted-hrs) Start Time Usage Time
------------------------------ ----------- ---------------- ----------------
group_alice 89.23 11/19/2010 19:14 1/10/2011 21:54
group_monitor 203.17 11/17/2010 15:32 1/10/2011 21:40
group_cms 526.30 11/17/2010 15:09 1/10/2011 21:30
group_lhcb 26312.36 11/19/2010 18:43 1/10/2011 21:58
group_atlas 120058.70 11/17/2010 15:18 1/10/2011 21:58
------------------------------ ----------- ---------------- ----------------
Number of users: 60 305048.32 11/17/2010 15:09 1/01/2011 00:00
Is there any better way of doing that?
Cheers,
Santanu
PS. I do have the GROUP_QUOTA implemented, I just didn't print it to
save us some reading (as I thought it's irreverent to this).
On 10/01/2011 21:05, Todd Tannenbaum wrote:
Santanu
Das wrote:
Dear list,
I was wondering if anyone can explain the "condor_userprio
-usage" output to me.
Hi Santanu, I'll try to help...
The "Total Usage" for the individual group_members when added
are a bit (~10%?) below the totals for the principal _groups,
Perhaps the total for the individual group members are below
because condor_userprio defaults to only showing individual group
members who have accumulated usage in the past 24 hrs (aka active
users). You can change that behavior by using the "-allusers" or
the "-activefrom" command line flags.
but the total appears to be the sum of the
group_members and principal_groups (i.e. the total may count
everything twice??) - is it the way it should be?
Yes, that is how it currently works.
Having the totals count things more than once seems wrong...
Perhaps it would be nice to change condor_userprio so it ignores
principal group names altogether unless explicitly invoked with a
"-groups" option ? Any strong opinions?
This is what I've specified for the
AccountingGroup:
## The AccountingGroups GROUP_NAMES = group_alice,
group_atlas, group_biomed, group_cms, group_euindia, group_lhcb,
group_monitor, group_camgrid
and later, I insert this in the submit script for the user(s) in
a group:
+AccountingGroup = \"$group_name.$username\"
Is there anything is missing or I'm doing wrong?
Typically one would not bother defining GROUP_NAMES unless one is
also defining group quotas (e.g. GROUP_QUOTA_<groupname>),
but there is not wrong per se with the above....
Also, at the bottom, it says "Number of
users: 60" but shows only a handful of them - what does that
mean?
It means a simple bug was introduced back in July 2009. :(.
Thanks for spotting this. I'll push a fix into the source code
for future releases.
looked in the man-page but didn't find my
answers there. Hope someone here can help me with some of these.
thanks in advance.
Cheers,
Santanu
Hope the above helped,
regards,
Todd
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx
with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/
|