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

Re: [HTCondor-users] ååïHTCondor-users Digest, Vol 45, Issue 38



The run time (wall time, not cpu time) of a completed job is

 

CumulativeSlotTime

 

the _expression_ CompletionDate â JobCurrentStartDate is the run time of the last time the job executed, which for many jobs will be the same as the CumulativeSlotTime

 

-tj

 

From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of MÃtyÃs Selmeci
Sent: Wednesday, August 23, 2017 9:29 AM
To: htcondor-users@xxxxxxxxxxx
Subject: Re: [HTCondor-users]
ååïHTCondor-users Digest, Vol 45, Issue 38

 

Someone else can correct me but I think the best way of calculating the run time of a completed job is to look at the difference between its CompletionDate and JobCurrentStartDate. You can get these numbers for a completed job by using the condor_history command, such as:

condor_history <YOUR JOB ID> -af '(CompletionDate - JobCurrentStartDate)'

that will give it to you in seconds. You can also do:

condor_history <YOUR JOB ID> -af 'interval(CompletionDate - JobCurrentStartDate)'

Hope this helps,
-Mat

On 08/22/17 20:52, åä wrote:

Does anyone know how to caculate run time of each condor job? or job run information on execute machine?