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

Re: [HTCondor-users] correct way to see how many available CPUs are in my pool



The best way to get the total number of detected cores in the pool is probably to query the Master ads rather than the STARTD ads, because you wonât end up with double counts that wayâ

 

condor_status -master -af DetectedCPUs

 

-tj

 

From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of Rita
Sent: Tuesday, August 8, 2023 7:20 PM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] correct way to see how many available CPUs are in my pool

 

I broadcast 50% of cores on some machines and 98% on some. 

 

Is there a way to get total number of cores in my pool?

 

condor_status -startd -constraint 'State!="Claimed"' -format "%d\n" DetechtedCpus | sum

 

But I don't think this is accurate. 

Is there a more concrete way? and is there a page where I can run queries to get my pool information? 

 

--

--- Get your facts first, then you can distort them as you please.--