[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



I presume its the same for memory?Â



On Wed, Aug 9, 2023 at 8:11âPM John M Knoeller via HTCondor-users <htcondor-users@xxxxxxxxxxx> wrote:

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.--

_______________________________________________
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/


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