Mailing List Archives
Public Access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] [?????]
- Date: Sat, 16 Jun 2007 22:16:00 -0400
- From: "Ian Chesal" <ICHESAL@xxxxxxxxxx>
- Subject: Re: [Condor-users] [?????]
> Using the Condor 6.8/6.9 ClassAd functions, you can get the exact
> value that is printed in condor_status with:
>
> -format '%s\n' 'interval(LastHeardFrom - EnteredCurrentActivity)'
>
> Or unformatted as:
>
> -format '%d\n' '(LastHeardFrom - EnteredCurrentActivity)'
>
> You can also use '(LastHeardFrom - EnteredCurrentActivity)' in any
> constraint expression, or isn't this sufficient?
This is fantastic! I had no idea you could do math on attributes when
using the -f option.
Thanks!
- Ian