Hi,

> Am 17.10.2017 um 17:42 schrieb Douglas Duckworth <dod2...@med.cornell.edu>:
> 
> For my account:
> 
> [root@qmaster ~]# qconf -mattr limit_slots dod2014 slots=32

$ qconf -mattr resource_quota limit slots=32 dod2014/limit_slots

assuming the rule is:

limit        name limit_slots to slots=17

in the RQS dod2014. Without a given name for the rule you have to specify the 
number of the rule, i.e. dod2014/1

-- Reuti


> Modification of object "limit_slots" not supported
> 
> We are GE 6.2u5
> 
> 
> Thanks,
> 
> Douglas Duckworth, MSc, LFCS
> HPC System Administrator
> Scientific Computing Unit
> Physiology and Biophysics
> Weill Cornell Medicine
> E: d...@med.cornell.edu
> O: 212-746-6305
> F: 212-746-8690
> 
> On Tue, Oct 17, 2017 at 11:39 AM, Douglas Duckworth <dod2...@med.cornell.edu
>> wrote:
> 
>> So:
>> 
>> If I wanted to restrict user to 32 slots then would this be the correct
>> syntax:
>> 
>> qconf -aattr limit_slots user slots=32
>> 
>> Thanks,
>> 
>> Douglas Duckworth, MSc, LFCS
>> HPC System Administrator
>> Scientific Computing Unit
>> Physiology and Biophysics
>> Weill Cornell Medicine
>> E: d...@med.cornell.edu
>> O: 212-746-6305 <(212)%20746-6305>
>> F: 212-746-8690 <(212)%20746-8690>
>> 
>> On Thu, Apr 20, 2017 at 3:39 PM, Reuti <re...@staff.uni-marburg.de> wrote:
>> 
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>> 
>>> 
>>> Am 20.04.2017 um 21:08 schrieb MacMullan IV, Hugh:
>>> 
>>>> Absolutely! Take a look at the qconf man page for details on using
>>> files (-[AMRD]attr) and / or the -[amrd]attr options (for specific objects).
>>> 
>>> Also the description and the enable flag of an RQS can be changed this
>>> way, although the man page doesn't say this explicitly.
>>> 
>>> - -- Reuti
>>> 
>>> 
>>>> Hope that's useful!
>>>> -Hugh
>>>> 
>>>> On Apr 20, 2017, at 14:13, Douglas Duckworth <dod2...@med.cornell.edu>
>>> wrote:
>>>> 
>>>>> Hey!
>>>>> 
>>>>> Is there a way to do "qconf -mrqs limit_slots" for a user at the
>>> command line without opening up a text editor?
>>>>> 
>>>>> I would like to automate these types of things using Ansible.
>>>>> 
>>>>> Best
>>>>> Doug
>>>>> 
>>>>> Thanks,
>>>>> 
>>>>> Douglas Duckworth, MSc, LFCS
>>>>> HPC System Administrator
>>>>> Scientific Computing Unit
>>>>> Physiology and Biophysics
>>>>> Weill Cornell Medicine
>>>>> E: d...@med.cornell.edu
>>>>> O: 212-746-6305
>>>>> F: 212-746-8690
>>>>> _______________________________________________
>>>>> users mailing list
>>>>> users@gridengine.org
>>>>> https://gridengine.org/mailman/listinfo/users
>>>> _______________________________________________
>>>> users mailing list
>>>> users@gridengine.org
>>>> https://gridengine.org/mailman/listinfo/users
>>> 
>>> -----BEGIN PGP SIGNATURE-----
>>> Comment: GPGTools - https://gpgtools.org
>>> 
>>> iEYEARECAAYFAlj5DnkACgkQo/GbGkBRnRpbrACdGKvtMQESLXkSqNs1orpV2iBS
>>> RQwAn0r+Z2x8i+nbzM7wrUV7FNyw35gV
>>> =t55/
>>> -----END PGP SIGNATURE-----
>>> 
>> 
>> 


_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to