Ignore:
Timestamp:
12/17/12 19:51:34 (9 years ago)
Author:
aclsce
Message:

Fixed bbugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/PACK_IPSL/monitoring.sh

    r1899 r1978  
    33# Variables a renseigner 
    44# Stockage des fichiers pour monitoring de tous les users (pour l instant sur p86caub) 
    5 export MONIT_DIR=$CCCWORKDIR/MONIT_MIGRATION 
    6 export DODS_MONIT=$CCCWORKDIR/../../dods/public/p86caub/MONIT_MIGRATION 
     5export MONIT_DIR=/ccc/work/cont003/dods/public/MONIT_DIR 
     6export DODS_MONIT=/ccc/work/cont003/dods/public/DODS_MONIT 
    77 
    88testr=`LC_ALL=C date +"%Y%m%dT%H%M"` 
     
    1818if [ -e ${MONIT_DIR}/monit_all_new.txt ] 
    1919then 
    20     tail -1 monit_${USER}.txt >> ${MONIT_DIR}/monit_all_new.txt 
     20    tail -1 ${MONIT_DIR}/monit_${USER}.txt >> ${MONIT_DIR}/monit_all_new.txt 
    2121else 
    2222    cp monit_header.txt ${MONIT_DIR}/monit_all_new.txt 
    23     tail -1 monit_${USER}.txt >> ${MONIT_DIR}/monit_all_new.txt 
     23    tail -1 ${MONIT_DIR}/monit_${USER}.txt >> ${MONIT_DIR}/monit_all_new.txt 
    2424fi 
    2525 
     
    3030mv ${MONIT_DIR}/monit_all_new.txt ${MONIT_DIR}/monit_all.txt  
    3131 
    32 if [ -d ${MONIT_DIR}/${USER}_SIMUS ] 
    33 then 
    34     rm -rf ${MONIT_DIR}/${USER}_SIMUS 
    35 fi 
    36 cp -rf ${USER}_SIMUS ${MONIT_DIR}/. 
     32#if [ -d ${MONIT_DIR}/${USER}_SIMUS ] 
     33#then 
     34#    rm -rf ${MONIT_DIR}/${USER}_SIMUS 
     35#fi 
     36#cp -rf ${USER}_SIMUS ${MONIT_DIR}/. 
    3737 
    38 if [ "x$DODS_MONIT" != "x" ] 
    39 then 
    40     rm -rf $DODS_MONIT 
    41 fi 
    42 cp -alf $MONIT_DIR ${DODS_MONIT} 
     38#if [ "x$DODS_MONIT" != "x" ] 
     39#then 
     40#    rm -rf $DODS_MONIT 
     41#fi 
     42cp -prf $MONIT_DIR/* ${DODS_MONIT}/. 
    4343chmod -R o+rX ${DODS_MONIT} 
Note: See TracChangeset for help on using the changeset viewer.