[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Python: how to query for userprios?



Hi Tj,

many thanks - it works fine now :) [1]

Cheers,
  Thomas

[1]
>>>
collector.query(htcondor.AdTypes.Any,'MyType=="Accounting"',projection=["Name","Priority"])[2]
[ Priority = 5.000000000000000E-01; Name =
"group_DESY.desysgm.desysgm000@xxxxxxx"; MyType = "Accounting";
TargetType = "none" ]


On 2018-08-13 16:25, John M Knoeller wrote:
> You want the "Acounting" ads from the collector.   This is not a daemon ad, so you have to leave the ad_type field of the query method blank so it will query any ads, and use a constraint expression to select accounting ads. 
> 
>     MyType=="Accounting"
> 
> -tj
> 
> -----Original Message-----
> From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of Thomas Hartmann
> Sent: Monday, August 13, 2018 4:45 AM
> To: htcondor-users@xxxxxxxxxxx
> Subject: [HTCondor-users] Python: how to query for userprios?
> 
> Hi all,
> 
> I am trying to get the current userprio values through the python
> bindings. But so far I have not found them
> 
> I guess, the negotiator might be the right daemon to ask -as there is a
> ClassAd
>   LastNegotiationCycleSubmittersShareLimit2
> but so far I have not found the actual userprios.
> 
> Maybe somebody knows where I should look?
> 
> Cheers and thanks,
>   Thomas
> 
> 
> _______________________________________________
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
> 
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/
> 

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature