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

Re: [HTCondor-users] Adding request and usage values in job hold message




On 6/7/25 3:30 PM, Vikrant Aggarwal wrote:
Hello Experts,

Is't possible to put the value of actual DiskUsage and requested disk in the hold message?

use POLICY: WANT_HOLD_IF(DISK_USAGE_EXCEEDED, 105, Scratch space disk usage DiskUsage exceeded than requested Disk)

Hi Vikrant:

I think you can try something like this:

use policy: HOLD_IF_DISK_EXCEEDED
WANT_HOLD_REASON = ifThenElse(DiskUsage > Disk, strcat("Too much disk used: ", Disk, "Kbs"), $(WANT_HOLD_REASON))


-greg