Bug #30

Missaligned gwhost output

Added by Alejandro Lorca almost 3 years ago. Updated over 2 years ago.

Status:Closed Start date:2009-06-08
Priority:Low Due date:
Assignee:Alejandro Lorca % Done:

100%

Category:-
Target version:5.5.0 Estimated time:5.00 hours

Description

Data shown from the gwhost output is by default not vertically aligned if the host values are larger than the specific field length.
Even if this bug doesn't affect the functionality it is ugly.
An example follows

40  1     ScientificSLBer i686  1800    0 4054/4054           0/0      0/0/236 jobmanager-lcgpbs    dgc-grid-44.brunel.ac.uk
41  1     ScientificSL4   i686  2334    0 16384/16384           0/0     0/34/368 jobmanager-lcgpbs    t2ce04.physics.ox.ac.uk
42  1     ScientificSLBer i686  3066    0 16384/16384           0/0     0/41/128 jobmanager-lcgpbs    epgce3.ph.bham.ac.uk
43  1     ScientificSLBer i686  2400    0 2049152/2049152           0/0       0/2/15 jobmanager-lcgpbs    ce.pakgrid.org.pk   
44  1     ScientificSLSL  i686  1400    0   512/512           0/0        0/1/2 jobmanager-lcgpbs    spacin-ce1.dma.unina.it
45  1     ScientificSLBer i686  2333    0 16384/16384           0/0      0/5/450 jobmanager-pbs       ce2.ppgrid1.rhul.ac.uk
46  1     ScientificSLBer i686  3400    0 2048/2048           0/0      0/2/118 jobmanager-pbs       ce01.afroditi.hellasgrid.gr

Associated revisions

Revision 173
Added by Alejandro Lorca over 2 years ago

Major upgrade getting close to version 5.6.0.
Several bug fixing, warnings and features have been worked out.
Check issues #25, #26, #27, #29, #30, #38, #59, #60, #63 for details in http://dev.gridway.org.

History

Updated by Alejandro Lorca almost 3 years ago

  • Status changed from New to Resolved
  • Assignee set to Alejandro Lorca
  • % Done changed from 0 to 100

MEM sizes are often 5 digits or lower. It seems difficult to have more than 100 GB RAM these days, so I updated the size.
Other fields were also updated like LRMS and HOSTNAME, increasing the total size of the heading from 200 to 210.
This is obviously not a general solution, but fits better with our grid experience than before.

Updated by Alejandro Lorca almost 3 years ago

After testing the new result, if no crazy MEM hosts are present, it looks like this

HID PRIO OS              ARCH  MHZ  %CPU    MEM(F/T)     DISK(F/T)      N(U/F/T) LRMS               HOSTNAME                      
0   1                             0    0         0/0           0/0         0/0/0                    aristoteles.inf-cr.uclm.es    
1   1                             0    0         0/0           0/0         0/0/0                    ce01.macc.unican.es           
2   1    Linux2.6.20-1.3 x86   1595   96       5/765    8230/10822     0/324/324 SGE                test01.egee.cesga.es          
3   1    Linux2.6.24-17- x86_6 1995  100    186/2014    5593/16362         0/3/4 PBS                hydrus.dacya.ucm.es           
4   1    Linux2.6.24-17- x86_6 1995  100     59/2014    7751/21817         0/4/4 SGE                aquila.dacya.ucm.es           
109 1    ScientificSLBer i686  2660    0 16384/16384           0/0       0/42/80 jobmanager-pbs     ce02.grid.acad.bg             
110 1    ScientificSLSL  i686  1001    0     512/512           0/0    0/146/2447 jobmanager-lcgpbs  lcgce02.gridpp.rl.ac.uk       
111 1    ScientificSLBer i686  3000    0   8192/8192           0/0    0/173/1489 jobmanager-lcgsge  ce.glite.ecdf.ed.ac.uk        
112 1    ScientificSLSL  i686  3000    0   8192/8192           0/0    0/175/1489 jobmanager-lcgsge  mw05.ecdf.ed.ac.uk            
113 1    ScientificSLBer i686  1601    0     513/513           0/0       0/11/16 jobmanager-pbs     grid-ce.ii.edu.mk             
114 1    ScientificSLBer i686  3600    0 16384/16384           0/0     0/128/128 jobmanager-lcgpbs  iut03auvergridce01.univ-bpclermont.fr

Updated by Alejandro Lorca over 2 years ago

  • Status changed from Resolved to Closed
  • Target version set to 5.5.0

Fix committed

Also available in: Atom PDF