[GE users] 6.0 qstat - possible RFE

Olesen, Mark Mark.Olesen at arvinmeritor.com
Thu Nov 11 09:23:42 GMT 2004


> I think it's important to point out that N1GE 6 qstat already has an
> option to output information in an XML format.  You can then send this
> to your favorite XML parser (Perl, Java, etc) and get exactly the
> information you need without worrying about field sizes, line lengths,
> multi-line records, etc.

Can the XML format be adjusted to use attributes preferentially?

Eg, from qstat -r -xml

instead of 

<JB_job_number>283</JB_job_number>
<JB_name>d-v1-r2000</JB_name>
<JB_owner>olesen</JB_owner>
and
<slots>4</slots>
<granted_PE name="mpi">4</granted_PE>
<hard_request name="shpc+"
resource_contribution="4000.000000">1</hard_request>

could one simply emit:

<job_info number="283" name="d-v1-r2000" owner="olesen>
and
<granted_PE name="mpi" value="4"/>
<hard_request name="shpc+" resource_contribution="4000.000000" value="1"/>


This could help somewhat with (really cheap) regexp-based parsing.
Would this also qualify as a possible RFE?

/mark

---------------------------------------------------------------------
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