[gridengine users] How to Tell the running Wall Clock of a Job?

Reuti reuti at staff.uni-marburg.de
Mon Oct 29 18:11:26 UTC 2012


Am 29.10.2012 um 19:08 schrieb Joseph Farran:

> Thanks Reuti, but it does not work:
> 
> $ ./status -r
> awk: cmd. line:66: fatal: 3 is invalid as number of arguments for strftime
> awk: cmd. line:64: fatal: 3 is invalid as number of arguments for strftime

Which incarnation of `awk` and version are you using? The requirement should be in the README.

-- Reuti


> I am running Son of GE 8.1.2.
> 
> Joseph
> 
> On 10/26/2012 03:27 AM, Reuti wrote:
>> Am 26.10.2012 um 08:55 schrieb Daniel Gruber:
>> 
>>> Am 26.10.2012 um 07:58 schrieb Joseph Farran:
>>> 
>>>> Howdy.
>>>> 
>>>> One of my queues has a wall time hard limit of 4 days ( 96 hours ):
>>>> # qconf -sq queue  | grep h_rt
>>>> h_rt                  96:00:00
>>>> 
>>>> There is a job which has been running much longer than 4 days and I am not sure how to get the hours the job has been running.
>>>> 
>>>> I tried this but I am not seeing the wall time clock usage:
>>>> 
>>>> # qstat -F -j 11584 | egrep "usage|time"
>>>> submission_time:            Sun Oct 14 23:20:47 2012
>>>> usage    1:                 cpu=1:14:53:21, mem=137510.37865 GB s, io=0.24098 GB, vmem=1.051G, maxvmem=1.051G
>>>> 
>>>> So the question is, what is the command to display the current wall clock time this job has consumed?
>>>> 
>>> now -
>>> qstat -j 11584 -xml | grep start_time
>> You can also use the `status` script to show the runtime:
>> 
>> $ status -r
>> 
>> Please see the attached archive, version 1.5b should also work with version 8. Also included is a manpage, which you can move to the preferred location or adjust the $MANPATH.
>> 
>> -- Reuti
>> 
>> @Dave and @Rayson: can you please host a copy of the tar? I couldn't spot it.
>> 
>> 
>>> Regards,
>>> 
>>> Daniel
>>> 
>>> 
>>>> If the job is suspended, does that affect the "h_rt" limit?
>>>> 
>>>> Thanks,
>>>> Joseph
>>>> _______________________________________________
>>>> users mailing list
>>>> users at gridengine.org
>>>> https://gridengine.org/mailman/listinfo/users
>>> _______________________________________________
>>> users mailing list
>>> users at gridengine.org
>>> https://gridengine.org/mailman/listinfo/users
>> [siehe angehängte Datei: status-1.5b.tgz]
> 





More information about the users mailing list