Changes between Initial Version and Version 1 of client_user_guide_pl

Show
Ignore:
Timestamp:
09/06/11 10:38:36 (14 years ago)
Author:
piontek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • client_user_guide_pl

    v1 v1  
     1= QCG Broker Client = 
     2 
     3[[PageOutline]]  
     4 
     5= Requirements = 
     6* '''Java (>= 1.5)'''\\ 
     7{{{ 
     8#!div style="font-size: 90%" 
     9For SL5.x 
     10{{{#!sh 
     11yum install java-1.6.0-sun-compat.x86_64 
     12}}} 
     13}}} 
     14* '''QCG-Broker Client''' - for the installation procedure see: 
     15 * the [[client_installation_guide| QCG-Broker Client Installation (from sources) Guide]]  
     16 * the [[client_installation_guide_rpm| QCG-Broker Client Installation (using RPM) Guide]] 
     17* '''User's credential''' 
     18  To secure the communication and authenticate the user to the service the X509 proxy certificate is needded. 
     19  Client expects the access either to proxy certificate file or to pair of user certificate and private key files in "pem" format. 
     20 
     21  If the user has the certificate in p12 format, the certificate has to be first converted to pem format files. 
     22{{{ 
     23  openssl pkcs12 -nocerts -in cert.p12 -out userkey.pem 
     24  openssl pkcs12 -clcerts -nokeys -in cert.p12 -out usercert.pem 
     25}}} 
     26 
     27 
     28= Configuration = 
     29To work properly and to authenticate user to the service, client has to be able to load user's proxy certificate and validate service credential during the handshake procedure. To do this it needs to know location of the file containing proxy certificate and directory containing public keys of Certificate Authorities it should trust. 
     30 
     31* Client looks for proxy according to following rules: 
     32{{{ 
     33#!div style="font-size: 90%" 
     34{{{#!default 
     35It first checks the X509_USER_PROXY system property. If the property 
     36is not set, it checks next the 'proxy' property in the current 
     37configuration. If that property is not set, then it defaults to a 
     38value based on the following rules:  
     39If a UID system property is set, and running on a Unix machine it 
     40returns /tmp/x509up_u${UID}. If any other machine then Unix, it returns 
     41${tempdir}/x509up_u${UID}, where tempdir is a platform-specific 
     42temporary directory as indicated by the java.io.tmpdir system property. 
     43If a UID system property is not set, the username will be used instead 
     44of the UID. That is, it returns ${tempdir}/x509up_u_${username} 
     45}}} 
     46}}} 
     47 
     48* Client looks for the CA directory according to following rules: 
     49{{{ 
     50#!div style="font-size: 90%" 
     51{{{#!sh 
     52It first checks the X509_CERT_DIR system property. If the property 
     53is not set, it checks next the 'cacert' property in the current 
     54configuration. If that property is not set, it tries to find 
     55the certificates using the following rules: 
     56First the ${user.home}/.globus/certificates directory is checked. 
     57If the directory does not exist, and on a Unix machine, the 
     58/etc/grid-security/certificates directory is checked next. 
     59If that directory does not exist and GLOBUS_LOCATION 
     60system property is set then the ${GLOBUS_LOCATION}/share/certificates 
     61directory is checked.  
     62}}} 
     63}}} 
     64 
     65CoG library configuration can be modified using the COG properties file `~/.globus/cog.properties` 
     66{{{ 
     67#!div style="font-size: 90%" 
     68{{{#!sh 
     69#Java CoG Kit Configuration File 
     70proxy=/tmp/x509up_u501 
     71cacert=/etc/grid-security/certificates/ 
     72}}} 
     73}}} 
     74 
     75Additionaly the location of user's certificate and private key must be specified.  
     76{{{ 
     77#!div style="font-size: 90%" 
     78{{{#!sh 
     79usercert=/home/piontek/.globus/usercert.pem 
     80userkey=/home/piontek/.globus/userkey.pem 
     81}}} 
     82}}} 
     83If they are specified and user proxy certificate doesn't exist it will be automatically created by the client. Otherwise the proxy certificate has to be created by `grid-proxy-init` tool. 
     84 
     85= Job Profile = 
     86Every experiment submitted to QCG-Broker has to be described by XML-based document called ''Job Profile''. The structure of ''Job Profile'' is formalized by [[http://node2.qoscosgrid.man.poznan.pl/~piontek/qcg-broker/QCGJobDescriptionSchema.xsd|Job Profile schema]]. 
     87 
     88Examples of Job Profiles describing basic use cases are distributed with QCG-Broker and can be found in `<CLIENT_DIR>/examples directory`. 
     89 
     90= Usage = 
     91 
     92The QCG-Groker command-line java based client can operate in two modes: 
     93 
     94* '''batch mode''' – that executes single operation with arguments passed directly to the client during its invocation. The batch mode allows to use the client in any kind of scripts mostly in cases when the processing of output is needed to steer the experiment, 
     95* '''console mode''' – that works similar to shell console in which user can type in lines with operations and arguments to be executed by service. The console mode gives additional useful features like aliases, history accessible by arrows-keys, creation and management of user proxy, help functionality.  
     96 
     97The usage of the client depends on the mode: 
     98* for batch mode: "`qcg-client OPRATION [ARG1 .. ARGn]`" 
     99* for console mode: "`qcg-client -console`" and then user is prompted to type in lines in format "`OPERATION [ARG1 .. ARGn]`" to be processed by client.  
     100 
     101'''IMPORTANT:''' To secure the communication between client and service and to delegate user's privileges to the service client needs access to user's proxy certificate. 
     102 
     103== Operations == 
     104 
     105Regardless from the mode the QCG-Broker java based command-line client supports following list of operations: 
     106 
     107||= '''Operation''' =||= '''Arguments''' =||= '''Description''' =|| 
     108||='''submit_job''' =|| `<desc_file>` `[QCG or JSDL]` || submits a job to be executed. The description of job can be expressed either in native QCG-Broker language (the default one) or in JSDL one. '''In case when the job to be submitted is described in JSDL format the type (JSDL) must be explicitly specified'''. If the description is valid client returns to the user a globally unique job identifier, which unambiguously identifies the job in the system.  QCG defines jobs as a sets of dependent tasks that constitute a logical whole (workflow). Each task is executed by system only if all tasks it depends on are in specified by the user states. ||  
     109||='''list_jobs''' =|| `[<limit>]` `[<status>]` || lists jobs belonging to the `user`. It is possible either to `limit` number of jobs or to display only ones in given state. All possible states are listed below  the table. || 
     110||='''list_user_jobs''' =|| `<user>` `[<limit>]` `[<status>]` || lists jobs belonging to the given `user`. The functionality is destined for administrative purposes. || 
     111||='''test_description''' =|| `<desc_file>` `[QCG or JSDL]` || validates job description ||  
     112||='''translate_description''' =|| `<desc_file>` JSDL || translates job description to native QCG-Broker one || 
     113||='''job_info''' =|| `<jobId>` `[<showJobDesc>]` || return complex information about the given job. If the `showJobDesc is` `false` the job description is not shown || 
     114||='''cancel_job''' =|| `<jobId>` || cancels execution of the given job || 
     115||='''commit_job''' =|| `<jobId>` || allows to approve the job submitted with two phase commit mechanism to be processed by the system. The two phase commit mechanism can be used to register notifications before the processing of the job will be started by broker. || 
     116||='''list_tasks''' =|| `<jobId>` `[<status>]` || lists tasks belonging to given job. Optionally it is possible to specify the task's status. Possible task statuses are listed below the table. || 
     117||='''tasks_statuses''' =|| `<jobId>` `[<summary>]` || lists tasks constituting the given job with their statuses. If the `summary` argument is `true` some additionall statistics is displayed. || 
     118||='''register_job_notification''' || `<jobId>` `<url>` || registers notification consumer for the given job || 
     119||='''list_job_notifications''' =|| `<jobId>` || lists notifications registered for the given job || 
     120||='''register_tasks_notification''' =|| `<jobId>` `<url>` || register notification for all tasks of the given job || 
     121||='''monitor_job''' =|| `<jobId>` `[<interval>]` || monitors status changes of tasks belonging to given job. The `interval` argument determines delay in seconds between next status checks. || 
     122||='''monitor_task''' =|| `<jobId>` `<taskId>` `[<interval>]` || monitors status changes of allocations belonging to the given tasks. The `interval` argument determines delay in seconds between next status checks. || 
     123||='''task_info''' =|| `<jobId>` `<taskId>` `[<showDesc>` `[<limit>]]` || displays information about the given task. If the `showDesc` is `false` the task description is not shown. If the `limit` argument is specified the history of the task is limited to given value. =|| 
     124||='''register_task_notification''' =|| `<jobId>` `<taskId>` `<url>` || registers task's notification consumer || 
     125||='''list_task_notifications''' =|| `<jobId>` `<taskId>` || lists task's notifications || 
     126||='''cancel_task''' =|| `<jobId>` `<taskId>` || cancels execution of the given task || 
     127||='''commit_task''' =|| `<jobId>` `<taskId>` || commits the given task to be processed by the system || 
     128||='''reserve_resources''' =|| `[<taskId>]` `<job_desc>` (QCG or JSDL) || reserve resources that meet either the wole job or given task requirements. The reservation identifier is returned. This functionality is not implemented yet! || 
     129||='''reservation_info''' =|| `<reservationId>` || return complex information concerning the given reservation: list of reserved resources, local identifiers of reservations, reservation time slot. This functionality id not implemented yet! || 
     130||='''cancel_reservation''' =|| `<reservationId>` || releases reserved resources. This functionality is not implemented yet! || 
     131 
     132 
     133List of Job statuses: 
     134    * UNCOMMITTED - the job was submitted with two phase commit option and waits to be committed, 
     135    * SUBMITTED – the job was submitted to the system and is executed by the system, 
     136    * SUSPENDED – the job was suspended, 
     137    * ACTIVE – the job is active, at least one task is processed, 
     138    * FINISHED – the job was completed, 
     139    * FAILED – the job (at least one crucial task belonging to the job) failed 
     140    * CANCELED – the job was canceled by the user, 
     141    * BROKEN - one or more of crucial tasks failed, system waits until active tasks will finish and change the status of the job to FAILED.|  
     142 
     143List of Task statuses: 
     144    * UNSUBMITTED – the task cannot be started because of dependencies, 
     145    * UNCOMMITED - the task waits to be committed, 
     146    * QUEUED – the task was put into the queue and waits for execution, 
     147    * PREPROCESSING – system makes some actions needed to start the task (looks for the resource, stages in files), 
     148    * PENDING – the task is pending in the queueing-system, 
     149    * RUNNING – the task is active, 
     150    * STOPPED – the task was finished or was checkpointed, but system did not start staging out files, 
     151    * POSTPROCESSING – system makes some actions needed to complete the task, for example stages out files, cleares working environment, etc., 
     152    * FINISHED – the task was completed, 
     153    * SUSPENDED – the task was suspended, 
     154    * FAILED – the task failed, 
     155    * CANCELED – the task was canceled by the user. 
     156== Usage examples == 
     157 
     158The example presented below is the QCG-Broker Job Profile describing the parameter-sweep experiment executing a set of UNIX calendar tasks for the predefined space of "month" parameter. 
     159 
     160{{{ 
     161#!div style="font-size: 90%" 
     162{{{#!xml 
     163<qcgJob appId="calendar_example"> 
     164        <task persistent="true" taskId="calendar"> 
     165                <execution type="single"> 
     166                        <executable> 
     167                                <execFile> 
     168                                        <file> 
     169                                                <location type="URL">file:////usr/bin/cal</location> 
     170                                        </file> 
     171                                </execFile> 
     172                        </executable> 
     173                        <arguments> 
     174                                <value>${PS_month}</value> 
     175                                <value>2010</value> 
     176                        </arguments> 
     177                        <stdout> 
     178                                <file> 
     179                                        <location type="URL">${TASK_DIR}/stdout.txt</location> 
     180                                </file> 
     181                        </stdout> 
     182                </execution> 
     183                <parametersSweep> 
     184                        <parameter> 
     185                                <name>month</name> 
     186                                <value> 
     187                                        <loop> 
     188                                                <start>1</start> 
     189                                                <end>12</end> 
     190                                                <step>1</step> 
     191                                                <except> 
     192                                                        <value>3</value> 
     193                                                        <value>6</value> 
     194                                                </except> 
     195                                        </loop> 
     196                                </value> 
     197                        </parameter> 
     198                </parametersSweep> 
     199        </task> 
     200</qcgJob> 
     201}}} 
     202}}} 
     203 
     204=== submit_job === 
     205* `submit_job <job_profile>` - submits job. `<job_profile>` must be the path to the file containing the Job Profile. 
     206{{{ 
     207#!div style="font-size: 90%" 
     208{{{#!sh 
     209qcg-client submit_job ../examples/usecase8.xml 
     210Your identity: C=PL,O=GRID,O=PSNC,CN=Tomasz Piontek 
     211Creating proxy, please wait... 
     212Proxy verify OK 
     213Your proxy is valid until Tue May 17 02:55:47 CEST 2011 
     214UserDN = /C=PL/O=GRID/O=PSNC/CN=Tomasz Piontek 
     215ProxyLifetime = 0 Days 11 Hours 59 Minutes 57 Seconds 
     216 
     217jobId = 1305550554579_calendar_example_5366 
     218}}} 
     219}}} 
     220 
     221=== list_jobs === 
     222* `list_jobs [status] [limit]` - lists jobs. Optionally it is possible to specify status or limits the output to some number of recent jobs. 
     223{{{ 
     224#!div style="font-size: 90%" 
     225{{{#!sh 
     226qcg-client list_jobs 5 
     227UserDN = /C=PL/O=GRID/O=PSNC/CN=Tomasz Piontek 
     228ProxyLifetime = 0 Days 11 Hours 58 Minutes 47 Seconds 
     229 
     230Number of jobs: 5 
     231List of jobs:  
     2321301904727887_calendar_example_1403 
     2331304020897352_calendar_example_4252 
     2341304065465905_calendar_example_9526 
     2351305287977790_calendar_example_4779 
     2361305550554579_calendar_example_5366 
     237}}} 
     238}}} 
     239 
     240=== job_info === 
     241* `job_info <jobId> <showJobProfile>` - displays information about the given job. The `<showJobProfile>` argument of boolean type specifies whether the Job Profile should be displayed or not. 
     242{{{ 
     243#!div style="font-size: 90%" 
     244{{{#!sh 
     245qcg-client job_info 1305550554579_calendar_example_5366 false 
     246UserDN = /C=PL/O=GRID/O=PSNC/CN=Tomasz Piontek 
     247ProxyLifetime = 0 Days 11 Hours 58 Minutes 18 Seconds 
     248 
     249UserDN: /C=PL/O=GRID/O=PSNC/CN=Tomasz Piontek 
     250Project:  
     251Status: FINISHED 
     252StatusDesc:  
     253SubmissionTime: Mon May 16 14:55:54 CEST 2011 
     254FinishTime: Mon May 16 14:56:42 CEST 2011 
     255Number of tasks: 10 
     256Tasks: calendar_PSit0 calendar_PSit1 calendar_PSit2 calendar_PSit3 calendar_PSit4 calendar_PSit5 calendar_PSit6 calendar_PSit7 calendar_PSit8 calendar_PSit9  
     257}}} 
     258{{{#!sh 
     259$ qcg-client job_info 1305550554579_calendar_example_5366 
     260UserDN = /C=PL/O=GRID/O=PSNC/CN=Tomasz Piontek 
     261ProxyLifetime = 0 Days 11 Hours 58 Minutes 6 Seconds 
     262 
     263UserDN: /C=PL/O=GRID/O=PSNC/CN=Tomasz Piontek 
     264Project:  
     265Status: FINISHED 
     266StatusDesc:  
     267SubmissionTime: Mon May 16 14:55:54 CEST 2011 
     268FinishTime: Mon May 16 14:56:42 CEST 2011 
     269Number of tasks: 10 
     270Tasks: calendar_PSit0 calendar_PSit1 calendar_PSit2 calendar_PSit3 calendar_PSit4 calendar_PSit5 calendar_PSit6 calendar_PSit7 calendar_PSit8 calendar_PSit9  
     271DescriptionType: GRMS 
     272UserDescription:  
     273<qcgJob appId="calendar_example"> 
     274  <task persistent="true" taskId="calendar"> 
     275    <execution type="single"> 
     276      <executable> 
     277        <execFile> 
     278          <file> 
     279            <location type="URL">file:////usr/bin/cal</location> 
     280          </file> 
     281        </execFile> 
     282      </executable> 
     283      <arguments> 
     284        <value>${PS_month}</value> 
     285        <value>2010</value> 
     286      </arguments> 
     287      <stdout> 
     288        <file> 
     289          <location type="URL">${TASK_DIR}/stdout.txt</location> 
     290        </file> 
     291      </stdout> 
     292    </execution> 
     293    <parametersSweep> 
     294      <parameter> 
     295        <name>month</name> 
     296        <value> 
     297          <loop> 
     298            <start>1</start> 
     299            <end>12</end> 
     300            <step>1</step> 
     301            <except> 
     302              <value>3</value> 
     303              <value>6</value> 
     304            </except> 
     305          </loop> 
     306        </value> 
     307      </parameter> 
     308    </parametersSweep> 
     309  </task> 
     310</qcgJob> 
     311 
     312QCGDescription:  
     313<grmsJob appId="calendar_example"> 
     314  <task persistent="true" taskId="calendar_PSit0"> 
     315    <execution type="single"> 
     316      <executable> 
     317        <execFile> 
     318          <file> 
     319            <location type="URL">file:////usr/bin/cal</location> 
     320          </file> 
     321        </execFile> 
     322      </executable> 
     323      <arguments> 
     324        <value>1.0</value> 
     325        <value>2010</value> 
     326      </arguments> 
     327      <stdout> 
     328        <file> 
     329          <location type="URL">${TASK_DIR}/stdout.txt</location> 
     330        </file> 
     331      </stdout> 
     332    </execution> 
     333  </task> 
     334  <task persistent="true" taskId="calendar_PSit1"> 
     335    <execution type="single"> 
     336      <executable> 
     337        <execFile> 
     338          <file> 
     339            <location type="URL">file:////usr/bin/cal</location> 
     340          </file> 
     341        </execFile> 
     342      </executable> 
     343      <arguments> 
     344        <value>2.0</value> 
     345        <value>2010</value> 
     346      </arguments> 
     347      <stdout> 
     348        <file> 
     349          <location type="URL">${TASK_DIR}/stdout.txt</location> 
     350        </file> 
     351      </stdout> 
     352    </execution> 
     353  </task> 
     354  <task persistent="true" taskId="calendar_PSit2"> 
     355    <execution type="single"> 
     356      <executable> 
     357        <execFile> 
     358          <file> 
     359            <location type="URL">file:////usr/bin/cal</location> 
     360          </file> 
     361        </execFile> 
     362      </executable> 
     363      <arguments> 
     364        <value>4.0</value> 
     365        <value>2010</value> 
     366      </arguments> 
     367      <stdout> 
     368        <file> 
     369          <location type="URL">${TASK_DIR}/stdout.txt</location> 
     370        </file> 
     371      </stdout> 
     372    </execution> 
     373  </task> 
     374  <task persistent="true" taskId="calendar_PSit3"> 
     375    <execution type="single"> 
     376      <executable> 
     377        <execFile> 
     378          <file> 
     379            <location type="URL">file:////usr/bin/cal</location> 
     380          </file> 
     381        </execFile> 
     382      </executable> 
     383      <arguments> 
     384        <value>5.0</value> 
     385        <value>2010</value> 
     386      </arguments> 
     387      <stdout> 
     388        <file> 
     389          <location type="URL">${TASK_DIR}/stdout.txt</location> 
     390        </file> 
     391      </stdout> 
     392    </execution> 
     393  </task> 
     394  <task persistent="true" taskId="calendar_PSit4"> 
     395    <execution type="single"> 
     396      <executable> 
     397        <execFile> 
     398          <file> 
     399            <location type="URL">file:////usr/bin/cal</location> 
     400          </file> 
     401        </execFile> 
     402      </executable> 
     403      <arguments> 
     404        <value>7.0</value> 
     405        <value>2010</value> 
     406      </arguments> 
     407      <stdout> 
     408        <file> 
     409          <location type="URL">${TASK_DIR}/stdout.txt</location> 
     410        </file> 
     411      </stdout> 
     412    </execution> 
     413  </task> 
     414  <task persistent="true" taskId="calendar_PSit5"> 
     415    <execution type="single"> 
     416      <executable> 
     417        <execFile> 
     418          <file> 
     419            <location type="URL">file:////usr/bin/cal</location> 
     420          </file> 
     421        </execFile> 
     422      </executable> 
     423      <arguments> 
     424        <value>8.0</value> 
     425        <value>2010</value> 
     426      </arguments> 
     427      <stdout> 
     428        <file> 
     429          <location type="URL">${TASK_DIR}/stdout.txt</location> 
     430        </file> 
     431      </stdout> 
     432    </execution> 
     433  </task> 
     434  <task persistent="true" taskId="calendar_PSit6"> 
     435    <execution type="single"> 
     436      <executable> 
     437        <execFile> 
     438          <file> 
     439            <location type="URL">file:////usr/bin/cal</location> 
     440          </file> 
     441        </execFile> 
     442      </executable> 
     443      <arguments> 
     444        <value>9.0</value> 
     445        <value>2010</value> 
     446      </arguments> 
     447      <stdout> 
     448        <file> 
     449          <location type="URL">${TASK_DIR}/stdout.txt</location> 
     450        </file> 
     451      </stdout> 
     452    </execution> 
     453  </task> 
     454  <task persistent="true" taskId="calendar_PSit7"> 
     455    <execution type="single"> 
     456      <executable> 
     457        <execFile> 
     458          <file> 
     459            <location type="URL">file:////usr/bin/cal</location> 
     460          </file> 
     461        </execFile> 
     462      </executable> 
     463      <arguments> 
     464        <value>10.0</value> 
     465        <value>2010</value> 
     466      </arguments> 
     467      <stdout> 
     468        <file> 
     469          <location type="URL">${TASK_DIR}/stdout.txt</location> 
     470        </file> 
     471      </stdout> 
     472    </execution> 
     473  </task> 
     474  <task persistent="true" taskId="calendar_PSit8"> 
     475    <execution type="single"> 
     476      <executable> 
     477        <execFile> 
     478          <file> 
     479            <location type="URL">file:////usr/bin/cal</location> 
     480          </file> 
     481        </execFile> 
     482      </executable> 
     483      <arguments> 
     484        <value>11.0</value> 
     485        <value>2010</value> 
     486      </arguments> 
     487      <stdout> 
     488        <file> 
     489          <location type="URL">${TASK_DIR}/stdout.txt</location> 
     490        </file> 
     491      </stdout> 
     492    </execution> 
     493  </task> 
     494  <task persistent="true" taskId="calendar_PSit9"> 
     495    <execution type="single"> 
     496      <executable> 
     497        <execFile> 
     498          <file> 
     499            <location type="URL">file:////usr/bin/cal</location> 
     500          </file> 
     501        </execFile> 
     502      </executable> 
     503      <arguments> 
     504        <value>12.0</value> 
     505        <value>2010</value> 
     506      </arguments> 
     507      <stdout> 
     508        <file> 
     509          <location type="URL">${TASK_DIR}/stdout.txt</location> 
     510        </file> 
     511      </stdout> 
     512    </execution> 
     513  </task> 
     514</qcgJob> 
     515}}} 
     516}}} 
     517 
     518=== tasks_statuses === 
     519* `tasks_statuses <jobId>` - lists tasks constituting the given job with their statuses. 
     520{{{ 
     521#!div style="font-size: 90%" 
     522{{{#!sh 
     523qcg-client tasks_statuses 1305550554579_calendar_example_5366 
     524UserDN = /C=PL/O=GRID/O=PSNC/CN=Tomasz Piontek 
     525ProxyLifetime = 0 Days 11 Hours 41 Minutes 30 Seconds 
     526 
     527Number of tasks: 10 
     528Tasks statuses:  
     529calendar_PSit7  : FINISHED 
     530calendar_PSit6  : FINISHED 
     531calendar_PSit5  : FINISHED 
     532calendar_PSit4  : FINISHED 
     533calendar_PSit3  : FINISHED 
     534calendar_PSit2  : FINISHED 
     535calendar_PSit1  : FINISHED 
     536calendar_PSit0  : FINISHED 
     537calendar_PSit9  : FINISHED 
     538calendar_PSit8  : FINISHED 
     539------ SUMMARY -------- 
     540Number of tasks: 10 
     541FINISHED        : 10 
     542}}} 
     543}}} 
     544 
     545=== task_info === 
     546* `task_info <jobId> <taskId>` - displays information about the given job 
     547{{{ 
     548#!div style="font-size: 90%" 
     549{{{#!sh 
     550qcg-client task_info 1305550554579_calendar_example_5366 calendar_PSit0 
     551UserDN = /C=PL/O=GRID/O=PSNC/CN=Tomasz Piontek 
     552ProxyLifetime = 0 Days 11 Hours 40 Minutes 11 Seconds 
     553 
     554TaskType: SINGLE 
     555SubmissionTime: Mon May 16 14:55:57 CEST 2011 
     556FinishTime: Mon May 16 14:56:27 CEST 2011 
     557ProxyLifetime: PT0S 
     558Status: FINISHED 
     559StatusDesc:  
     560StartTime: Mon May 16 14:56:04 CEST 2011 
     561DescriptionType: <task persistent="true" taskId="calendar_PSit0"> 
     562  <execution type="single"> 
     563    <executable> 
     564      <execFile> 
     565        <file> 
     566          <location type="URL">file:////usr/bin/cal</location> 
     567        </file> 
     568      </execFile> 
     569    </executable> 
     570    <arguments> 
     571      <value>1.0</value> 
     572      <value>2010</value> 
     573    </arguments> 
     574    <stdout> 
     575      <file> 
     576        <location type="URL">${TASK_DIR}/stdout.txt</location> 
     577      </file> 
     578    </stdout> 
     579  </execution> 
     580</task> 
     581 
     582 
     583Coallocation:  
     584UserDN: /C=PL/O=GRID/O=PSNC/CN=Tomasz Piontek 
     585HostName: grass1.man.poznan.pl 
     586ProcessesCount: 1 
     587ProcessesGroupId:  
     588Status: FINISHED 
     589StatusDescription:  
     590SubmissionTime: Mon May 16 14:56:04 CEST 2011 
     591FinishTime: Mon May 16 14:56:21 CEST 2011 
     592LocalSubmissionTime: Mon May 16 14:56:06 CEST 2011 
     593LocalStartTime: Mon May 16 14:56:10 CEST 2011 
     594LocalFinishTime: Mon May 16 14:56:10 CEST 2011 
     595}}} 
     596}}}