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

Re: [HTCondor-users] pool info w/ dynamic slots



Hi

On 8/27/19 12:37 PM, Keith Brown wrote:
> how can i find total number of cores, occupied cores, total memory,
> occupied memory,  in a pool with dynamic slots enabled?
That depends what you need but condor_status should be able to tell you
that.

You just have to pay attention to use

-constraint  'SlotType =?= "Partitionable"

or

-constraint  'SlotType =!= "Partitionable"

depending if you want to get information about potentially free
resources or about resources currently in use, e.g.

condor_status -total -constraint 'SlotType =?= "Partitionable"'

vs.

condor_status -total -constraint 'SlotType =!= "Partitionable"'

Together with autoformat you should be able to gather all the
information you probably want, e.g.


condor_status -af:hV Machine TotalSlotCpus TotalSlotMemory Cpus Memory
-constraint 'SlotType == "Partitionable"'|head

Machine           TotalSlotCpus TotalSlotMemory Cpus Memory
"a0101.atlas.local" 56            222941          9    4189
"a0102.atlas.local" 56            222941          1    1373
"a0103.atlas.local" 56            222941          0    733
"a0104.atlas.local" 56            222941          1    4701
"a0105.atlas.local" 56            222941          0    13021

Which shows that machine a0101 still has 9 cores available, but only
about 4GB of RAM left...

Does this help?

cheers

Carsten

-- 
Dr. Carsten Aulbert, Max Planck Institute for Gravitational Physics,
CallinstraÃe 38, 30167 Hannover, Germany
Phone: +49 511 762 17185

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