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

[HTCondor-users] Is eval() supposed to work with condor_status?



condor_status -constraint 'SlotType == "Dynamic"' -af 'eval(strcat(AssignedGpus,"UtilizationPct"))'

 

I’m looking for the utilization percent value of the GPU which is assigned to the slot in question with the idea of putting it in as a job machine attr. The strcat() gives the right string, as far as I can tell, but the eval() doesn’t seem to like it.

 

Even this doesn’t work:

 

condor_status -constraint 'SlotType == "Dynamic"' -af name 'eval("CUDA0UtilizationPct")'

 

Any suggestions?

 

               -Michael Pelletier.