Changeset 1056


Ignore:
Timestamp:
09/22/14 19:05:55 (10 years ago)
Author:
sdipsl
Message:

We need a timestamp formatted like this 2014-09-22T19:05:14.880462898+0200

Location:
trunk/libIGCM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_config/libIGCM_config.ksh

    r1053 r1056  
    12191219      code=1100 
    12201220      # RabbitMQ message body 
    1221       Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"msgTimestamp\":\"$( date +"%Y-%m-%d-%T-%N" )\"}" ) 
     1221      Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"msgTimestamp\":\"$( date +"%Y-%m-%dT%H:%M:%S.%N%z" )\"}" ) 
    12221222      # Fill the rabbitMQ queue 
    12231223      IGCM_debug_sendAMQP 
     
    12421242        code=0100 
    12431243        # RabbitMQ message body 
    1244         Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"msgTimestamp\":\"$( date +"%Y-%m-%d-%T-%N" )\"}" ) 
     1244        Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"msgTimestamp\":\"$( date +"%Y-%m-%dT%H:%M:%S.%N%z" )\"}" ) 
    12451245        # Fill the rabbitMQ queue 
    12461246        IGCM_debug_sendAMQP 
  • trunk/libIGCM/libIGCM_debug/libIGCM_debug.ksh

    r1053 r1056  
    318318      code=2000 
    319319      # RabbitMQ message body 
    320       Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"nesting\":\"${IGCM_debug_LenStack}\",\"command\":\"${INPUTS[*]}\",\"msgTimestamp\":\"$( date +"%Y-%m-%d-%T-%N" )\"}" ) 
     320      Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"nesting\":\"${IGCM_debug_LenStack}\",\"command\":\"${INPUTS[*]}\",\"msgTimestamp\":\"$( date +"%Y-%m-%dT%H:%M:%S.%N%z" )\"}" ) 
    321321      # Fill the rabbitMQ queue 
    322322      IGCM_debug_sendAMQP 
     
    513513        code=9000 
    514514        # RabbitMQ message body 
    515         Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"nesting\":\"${IGCM_debug_LenStack}\",\"command\":\"${INPUTS[*]}\",\"msgTimestamp\":\"$( date +"%Y-%m-%d-%T-%N" )\"}" ) 
     515        Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"nesting\":\"${IGCM_debug_LenStack}\",\"command\":\"${INPUTS[*]}\",\"msgTimestamp\":\"$( date +"%Y-%m-%dT%H:%M:%S.%N%z" )\"}" ) 
    516516        # Fill the rabbitMQ queue 
    517517        IGCM_debug_sendAMQP 
     
    524524        code=3000 
    525525        # RabbitMQ message body 
    526         Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"nesting\":\"${IGCM_debug_LenStack}\",\"command\":\"${INPUTS[*]}\",\"msgTimestamp\":\"$( date +"%Y-%m-%d-%T-%N" )\"}" ) 
     526        Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"nesting\":\"${IGCM_debug_LenStack}\",\"command\":\"${INPUTS[*]}\",\"msgTimestamp\":\"$( date +"%Y-%m-%dT%H:%M:%S.%N%z" )\"}" ) 
    527527        # Fill the rabbitMQ queue 
    528528        IGCM_debug_sendAMQP 
     
    584584 
    585585    # RabbitMQ message body with specific fields associated message codes treated here 
    586     Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"msgTimestamp\":\"$( date +"%Y-%m-%d-%T-%N" )\"}" ) 
     586    Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"msgTimestamp\":\"$( date +"%Y-%m-%dT%H:%M:%S.%N%z" )\"}" ) 
    587587    # Fill the rabbitMQ queue (specifying config.card must be send) 
    588588    IGCM_debug_sendAMQP activate 
     
    632632      code=9999 
    633633      # RabbitMQ message body 
    634       Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"msgTimestamp\":\"$( date +"%Y-%m-%d-%T-%N" )\"}" ) 
     634      Body=$( echo "{${genericSimulationID},\"msgCode\":\"${code}\",\"msgUID\":\"$(uuidgen)\",\"msgTimestamp\":\"$( date +"%Y-%m-%dT%H:%M:%S.%N%z" )\"}" ) 
    635635      # Fill the rabbitMQ queue 
    636636      IGCM_debug_sendAMQP 
     
    786786  if [ X${ActivateBigBro} = Xtrue ] ; then 
    787787    # RabbitMQ message body 
    788     Body=$( echo "{${genericSimulationID},${instrumentationContent},\"msgCode\":\"7000\",\"msgUID\":\"$(uuidgen)\",\"msgTimestamp\":\"$( date +"%Y-%m-%d-%T-%N" )\"}" ) 
     788    Body=$( echo "{${genericSimulationID},${instrumentationContent},\"msgCode\":\"7000\",\"msgUID\":\"$(uuidgen)\",\"msgTimestamp\":\"$( date +"%Y-%m-%dT%H:%M:%S.%N%z" )\"}" ) 
    789789    # Fill the rabbitMQ queue 
    790790    IGCM_debug_sendAMQP 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_curie.ksh

    r1046 r1056  
    19751975  #  0  118 110.0000000000000   87.46478873239437 
    19761976  #  1  40  4.999999999999995   51.97183098591550 
     1977 
    19771978#  typeset iStation iProc list_opt file_in file_out prefix_invert 
    19781979#  typeset -Z4 j4 
Note: See TracChangeset for help on using the changeset viewer.