Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] pool info w/ dynamic slots
- Date: Tue, 27 Aug 2019 15:28:02 +0000
- From: John M Knoeller <johnkn@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] pool info w/ dynamic slots
condor_status -compact
might be what you are looking for. If not then what Carsten suggests is your best bet.
-tj
-----Original Message-----
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of Carsten Aulbert
Sent: Tuesday, August 27, 2019 5:56 AM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: 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