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

Re: [HTCondor-users] Condor q attributes



That doesn't work for the runtime. 'RemoteUserCpu' always returns 0.0 until the job is finished (even then it's still not the runtime).

condor_q -format '%4d.' ClusterId -format … 
  24.0   user1       06/13 12:20   0+00:00:00 <  0   0.0  /Users/user1/de
  24.1   user1       06/13 12:20   0+00:00:00 R  0   0.0  /Users/user1/de

condor_q
 ID      OWNER            SUBMITTED     RUN_TIME ST PRI SIZE CMD               
  24.0   user1        6/13 12:20   0+00:01:03 <  0   0.0  condor_executor.sh
  24.1   user1        6/13 12:20   0+00:01:03 R  0   0.0  condor_executor.sh


Also, what's the equivalent to condor_history as well? My first take was CompletionDate - JobStartDate - CumulativeSuspensionTime.

Thanks for the help!

On Jun 13, 2014, at 12:05 PM, Todd Tannenbaum <tannenba@xxxxxxxxxxx> wrote:

> On 6/13/2014 12:53 PM, Joshua Holladay wrote:
>> I'm trying to create a custom 'condor_q' format and would like to
>> know how to find some values. How do I get the "transferring input"
>> state (equivalent to '<')?
> 
> If the job classad attribute TransferringInput exists and has a value to True, i.e. TransferringInput =?= True
> 
>> Which class ad attributes are used to
>> calculate runtime?
>> 
> 
> For the answer to this and perhaps several others, take a peek at the following HOWTO on the wiki:
> 
> https://htcondor-wiki.cs.wisc.edu/index.cgi/wiki?p=HowToWriteaCondorqWrapper
> 
> hope the above helps,
> Todd
> _______________________________________________
> 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/
>