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

Re: [HTCondor-users] wall clock time in condor_q



The condor_q output of RUN_TIME is calculated as

    RemoteWallClockTime + (time() - ShadowBday)

time() is now
ShadowBday is the time the current run of the job started
RemoteWallClockTime is the sum of wall clock time for all previous runs of the jobs.

-tj

-----Original Message-----
From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of Fischer, Max (SCC)
Sent: Monday, October 26, 2015 4:50 AM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Cc: brommer.sebastian@xxxxxxxxx
Subject: [HTCondor-users] wall clock time in condor_q

Hello all,

weâre trying to extract some statistics on jobs from condor_q but are having trouble with Run/Wallclock time.

Calling condor_q directly shows the RUN_TIME for all jobs [1]. Trying *any* of the related ClassAd attributes weâve found in the docs [3] yields 0 for almost all jobs [2].
CPU Time (RemoteUserCpu & RemoteSysCpu) seems to be correctly available, however.

Is the wall clack time available at all before jobs finish? Is there another, suggested attribute to query for wall clock time?

Cheers,
Max

[1] $ condor_q 218620.0
-- Submitter: ekpcms6.physik.uni-karlsruhe.de : <129.13.133.13:9615?sock=30054_99d2_4> : ekpcms6.physik.uni-karlsruhe.de
 ID      OWNER            SUBMITTED     RUN_TIME ST PRI SIZE CMD
218620.0   sieber         10/26 10:37   0+00:04:35 R  0   0.0  gc-run.sh 14846

[2] $ condor_q 218620.0 -autoformat user GlobalJobId CommittedTime CommittedSlotTime CommittedSuspensionTime RemoteWallClockTime CumulativeSlotTime JobStatussieber@xxxxxxxxxxxxxxxxxxxxxxx ekpcms6.physik.uni-karlsruhe.de#218620.0#1445852226 0 0 0 0.0 0 2

[3] http://research.cs.wisc.edu/htcondor/manual/current/12_Appendix_A.html

_______________________________________________
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/