Changes between Version 53 and Version 54 of qcg-directives

Show
Ignore:
Timestamp:
07/11/14 17:39:59 (10 years ago)
Author:
piontek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • qcg-directives

    v53 v54  
    133133 
    134134= monitor = 
    135 '''monitor''' - task monitoring script executed together with the main application. The script can be used for example to monitor output of the application or to do perform any additional action. 
    136  
    137 {{{ 
    138 #QCG monitor=monitor-script.sh 
     135'''monitor''' - the directive allowing to monitor the progress and status of the application in the QCG-Monitoring service. 
     136 
     137'''IMPORTANT:" The meaning of the ''monitoring'' directive has changed in the version 3.4 of the QCG-SimpleClient. The previous functionality is available by using the #QCG assistant directive. 
     138 
     139 
     140Syntax: 
     141{{{ 
     142#QCG monitor[=script] 
     143#QCG monitor=script->script.sh[,delay->N] 
     144}}} 
     145 
     146For the applications having only one monitoring schema the directive can be parameterless. 
     147{{{ 
     148#QCG monitor 
     149}}} 
     150 
     151To define the monitoring schema or the script implementing the monitoring functionality, the ''script'' parameter is dedicated. 
     152The ''script'' parameter is the default one. 
     153Providing its own monitoring script requires it to be transfered using the #QCG stage-in-file directive. 
     154 
     155{{{ 
     156#QCG monitor=gaussian 
     157  
     158#QCG monitor=skrypt_monitorujący.sh 
     159#QCG stage-in-file=skrypt_monitorujący.sh 
     160}}} 
     161 
     162The frequency of script execution is defined by the ''delay'' parameter which value defined time is seconds between next executions of the script. 
     163The notification is sent only when a content of the notification has changed from the previous iteration. 
     164{{{ 
     165#QCG monitor=gaussian,delay->60 
     166  
     167#QCG monitor=script->gaussian,delay->60 
     168}}} 
     169  
     170=mount= 
     171* '''mount''' - the directive automatically mounts for the task the defined data management system. At the moment only the ''veilFS'' system is supported (PL-Grid specific). 
     172 
     173{{{ 
     174#QCG mount=veilfs[->directive] 
     175}}} 
     176 
     177The optional ''directive'' argument defines the location in which the system is mounted. The default value is ''mount''. 
     178 
     179{{{ 
     180#QCG mount=veilfs->veilFS_dir 
    139181}}} 
    140182= name =