[GE users] AR output in qhost -F

roland roland.dittel at sun.com
Wed Nov 26 17:02:59 GMT 2008


Hi Reuti,

reuti wrote:
> Hi,
> 
> I made virtual_free consumable and attached it to the hosts  
> (vf=800M); it's honored in an AR (-l vf=500M) and conventional jobs  
> can't use the reserved resources as it should be while the AR is  
> running. You will get an output line for `qstat -j <job_id>` like:
> 
> (-l vf=500M) cannot run at host "pc15370" because it offers only  
> hc:virtual_free=314572800.000000
> 
> Anyway, the output of `qhost -F` is:
> 
> $ qhost -F
> HOSTNAME                ARCH         NCPU  LOAD  MEMTOT  MEMUSE   
> SWAPTO  SWAPUS
> ------------------------------------------------------------------------ 
> -------
> global                  -               -     -       -       -        
> -       -
> pc15370                 lx24-x86        1  0.12  979.9M  142.0M   
> 517.7M   16.0K
> ...
>     hc:virtual_free=800.000M
> 
> and only running jobs are lowering the shown value - either in the AR  
> or a normal qsub. Somwhow I would like to have an output like the  
> slots column "reserved" in qstat:
> 
>     hc:virtual_free=800.000M (500.000M AR)
> 
> It shall not pop up there for any AR in the future, but for the  
> already running ones on this machine. Is this feasible? Shall I file  
> an issue?

Yes this request is feasible. The data should be available in qhost, 
it's just a question how to format the output. Your suggested braces 
seems to be hard to parse. Do you think anyone parses the plain qhost 
output after the XML output is now available?

Best regards
Roland

> 
> -- Reuti
> 
> ------------------------------------------------------
> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=89991
> 
> To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].


-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Roland Dittel               Tel: +49 (0)941 3075-275 (x60275)
Software Engineering        Fax: +49 (0)941 3075-222 (x60222)
Sun Microsystems GmbH
Dr.-Leo-Ritter-Str. 7       mailto:roland.dittel at sun.com
D-93049 Regensburg          http://www.sun.com/gridware
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Registered Office / Sitz der Gesellschaft:
   Sun Microsystems GmbH
   Sonnenallee 1
   D-85551 Kirchheim-Heimstetten
   Germany
Commercial register of the Local Court of Munich /
Handelsregistereintrag Amtsgericht Muenchen:
   HRB 161028
Managing Directors / Geschaeftsfuehrer:
   Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Chairman of the Supervisory Board / Vorsitzender des Aufsichtsrates
   Martin Haering

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=90000

To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list