Thanks for that. You are correct. I should use 'qstat -f' or 'qstat -nl'
 
// Naderan *Mahmood;




________________________________
From: Paul Szczypka <[email protected]>
To: Mahmood Naderan <[email protected]>
Cc: maui <[email protected]>
Sent: Sun, February 27, 2011 9:13:47 PM
Subject: Re: [Mauiusers] "Time Use" column is not real (!)

qstat returns cpu time rather than wallclock time.

8 [lphelc1a_szczypka@tmp]$ qstat 35921
Job id                    Name             User            Time Use S Queue
------------------------- ---------------- --------------- -------- - -----
35921.lphelcsrv1           Bs_DsPi          rootDIRAC       04:15:18 R 
long           


9 [lphelc1a_szczypka@tmp]$ qstat -n1 35921

lphelcsrv1.epfl.ch: 
                                                                         Req'd  
Req'd   Elap
Job ID               Username Queue    Jobname          SessID NDS   TSK Memory 
Time  S Time
-------------------- -------- -------- ---------------- ------ ----- --- ------ 
----- - -----
35921.lphelcsrv1     rootDIRA long     Bs_DsPi           15654     1   1  950mb 
06:00 R 04:19   node35/1

10 [lphelc1a_szczypka@tmp]$ qstat -f 35921
Job Id: 35921.lphelcsrv1.epfl.ch
    Job_Name = Bs_DsPi
    Job_Owner = [email protected]
    resources_used.cput = 04:16:03
    resources_used.mem = 1038836kb
    resources_used.vmem = 1804164kb
    resources_used.walltime = 04:19:28
    job_state = R
    queue = long
    server = lphelcsrv1.epfl.ch
    Checkpoint = u
    ctime = Sun Feb 27 00:03:22 2011
    Error_Path = lphelc1b.epfl.ch:/home/rootDIRAC/Bs_DsPi/logs/Bs_DsPi.e35921
    exec_host = node35/1
    Hold_Types = n
    Join_Path = n
    Keep_Files = n
    Mail_Points = a
    mtime = Sun Feb 27 14:22:21 2011
    Output_Path = lphelc1b.epfl.ch:/home/rootDIRAC/Bs_DsPi/logs/Bs_DsPi.o35921
    
    Priority = 0
    qtime = Sun Feb 27 00:03:22 2011
    Rerunable = True
    Resource_List.mem = 950mb
    Resource_List.nodect = 1
    Resource_List.nodes = 1:ppn=1
    Resource_List.walltime = 06:00:00
    session_id = 15654
    etime = Sun Feb 27 00:03:22 2011
    submit_args = /home/rootDIRAC/Bs_DsPi/Bs_DsPi.sh
    start_time = Sun Feb 27 14:22:21 2011
    Walltime.Remaining = 6002
    start_count = 1
    fault_tolerant = False



On 26 February 2011 19:47, Mahmood Naderan <[email protected]> wrote:

Hi,
>Previously I thought that "time use" column in qstat command shows the how many
>minutes/hours a job is running. However, As you can see below, the
>numbers are not real!!
>
>root@server:/home/mahmood# date
> Sat Feb 26 22:04:24  2011
>
>root@server:/home/mahmood# qstat
>Job id                    Name             User            Time Use S Queue
>------------------------- ---------------- --------------- -------- - -----
>26463.server             ros              user1      81:13:57 R    q1
>
>root@server:/home/mahmood# date
>Sat Feb 26 22:04:49 2011
>
>root@server:/home/mahmood# qstat
>Job id                    Name             User            Time Use S Queue
>------------------------- ---------------- --------------- -------- - -----
>26463.server            ros              user1      81:22:57 R   q1
>
>
>Please note that the second 'date' command runs 25 seconds after the first one,
>however the 'time use' shows a difference of 9 minutes!!!
>
>// Naderan *Mahmood;
>
>
>
>_______________________________________________
>mauiusers mailing list
>[email protected]
>http://www.supercluster.org/mailman/listinfo/mauiusers
>



      
_______________________________________________
mauiusers mailing list
[email protected]
http://www.supercluster.org/mailman/listinfo/mauiusers

Reply via email to