[GE users] Job exit status

Ron Chen ron_chen_123 at yahoo.com
Fri Apr 2 07:48:25 BST 2004


Try wait till the job is done before running "qacct -j
<jid>" again.

qacct reads the accounting records in the SGE spool
directory. When the job is not done, the information
is not written yet, and you need to use qstat.

 -Ron

--- Sebastian Stark <stark at tuebingen.mpg.de> wrote:
> On Friday 02 April 2004 03:50, Ron Chen wrote:
> > Any reason you couldn't use "qacct"?
> 
> Nice, didn't know that qacct can show the exit
> status. But can someone explain 
> this to me?
> 
> 
> neckar% qstat -u mof
> job-ID  prior name       user         state
> submit/start at     queue      
> master  ja-task-ID
>
---------------------------------------------------------------------------------------------
>   66474     0 poly       mof          r    
> 03/29/2004 10:43:20 node28.q   
> MASTER
> neckar% qstat -j 66474
> job_number:                 66474
> [...]
> neckar% qacct -j 66474
> error: job id 66474 not found
> neckar% qacct -j poly
>
==============================================================
> qname        node20.q
> hostname     node20.cluster.local
> group        agbs
> owner        mof
> project      defaultproject
> [...]
> jobname      poly
> jobnumber    69269
> [...]
> 
> It doesn't work with the job id, obviously. And it
> gives completely wrong 
> results when I use the job name (there's only one
> job with the name "poly").
> 
> I'm afraid all my accounting stats so far were
> wrong..
> 
> This is SGEEE 5.3p5.
> 
> -- 
> Sebastian Stark --
> http://www.kyb.tuebingen.mpg.de/~stark
> Max Planck Institute for Biological Cybernetics
> Spemannstr. 38, 72076 Tuebingen
> Phone: +49 7071 601 555 -- Fax: +49 7071 601 552
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail:
> users-help at gridengine.sunsource.net
> 


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list