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

Re: [HTCondor-users] condor_status -compact



compact mode fetches only p-slots and static slots, it adds the constraint

   && (PartitionableSlot =?= true || DynamicSlot =!= true)

So that it doesn't fetch dynamic slots at all,  and the "Slots" column is the value of the NumDynamicSlots field
a _ indicates that there is no NumDynamicSlots field, is batch1051.desy.de  a single huge static slot?

what does 

   condor_status batch1051.desy.de -af:h Name PartitionableSlot DynamicSlot NumDynamicSlots 


show?


-tj

-----Original Message-----
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of Beyer, Christoph
Sent: Friday, November 29, 2019 3:40 AM
To: htcondor-users <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] condor_status -compact


Hi,

I do have two questions concerning condor_status compact. 

The output seems to be somehow different for SL6 and CEntOS7: 

[root@bird-htc-sched14 ~]# condor_status -compact 
Machine             Platform    Slots Cpus Gpus  TotalGb FreCpu  FreeGb  CpuLoad ST Jobs/Min MaxSlotGb
batch1051.desy.de   x64/CentOS7 _       48        251.64      1     4.00    0.45 Ui     0.00 *        
<snip>
bird-cfel01.desy.de x64/SL6        11   12        252.37      1   234.37    0.85 **     3.50      2.00

The number of slots is not displayed but a '-' instead ? 

Also the total at this moment gives me: 

               Machines Owner Claimed Unclaimed Matched Preempting  Drain

   x64/CentOS7     3302     0    3081       215       0          0      6
       x64/SL6     2883     0    2759       111       0          9      4

         Total     6185     0    5840       326       0          9     10

While adding up the total of partitionable slot-cpus gives: 

[root@bird-htc-sched14 ~]# condor_status -constraint 'OpSysAndVer == "CentOS7"' -af NAME TotalSlotCpus  SlotType | awk '$3=="Partitionable"{s+=$2}END{print s}'
3826

(I know this could be done more professional but it happens to be the way we process it for some plots)

I went through most of the documentation (at least I think so) but could not figure out where the considerable difference between the two numbers comes from ? 

As always thanks for every hint ! ;) 

Best
Christoph

-- 
Christoph Beyer
DESY Hamburg
IT-Department

Notkestr. 85
Building 02b, Room 009
22607 Hamburg

phone:+49-(0)40-8998-2317
mail: christoph.beyer@xxxxxxx
_______________________________________________
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/