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

Re: [Condor-users] evaluating classad expressions

condor-users-bounces@xxxxxxxxxxx schrieb am 02/28/2008 02:42:55 PM:

> Hi Folks,
> I'm looking for a way, as an admin, to evaluate classad expression 
> from the command line.
> In particular, we have some jobs that are reporting CPU times over 20 
> days, but which I'm certain have been killed due to externalities, 
> and restarted. As such I'd like to know how long they have been 
> running since the last time they've started: i.e. something like 
> (this is likely not right)
>      CurrentTime - JobCurrentStartDate
> that would tell me, for all the jobs, what this value, call it 
> "CurrentRunTime," is. I know that there's condor_config_val, but that 
> just reports the unevaluated expressions.

condor_q -format '%d' ClusterId -format ' %s' 

You get the idea...

Jan Ploski