Mailing List Archives
Public Access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] evaluating classad expressions
- Date: Thu, 28 Feb 2008 16:07:43 +0100
- From: Jan Ploski <Jan.Ploski@xxxxxxxx>
- Subject: 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'
'interval(CurrentTime-EnteredCurrentStatus)'
You get the idea...
Regards,
Jan Ploski