Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Understanding condor_userprio output
- Date: Mon, 10 Jan 2011 15:05:12 -0600
- From: Todd Tannenbaum <tannenba@xxxxxxxxxxx>
- Subject: Re: [Condor-users] Understanding condor_userprio output
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