Changeset 16679


Ignore:
Timestamp:
06/03/13 22:42:07 (12 years ago)
Author:
Daniela Dorner
Message:
small fix in usage of lsof
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Transfer/BackupRawToWue.sh

    r15596 r16679  
    1111# checking that not more than $numrsyncwuelimit
    1212#  instances of the script are running
    13 numrsyncwue=`lsof $0 | grep -o -c $0`
    14 echo "-"$numrsyncwue"-"
     13numrsyncwue=`/usr/sbin/lsof $0 | grep -o -c $0`
    1514if [ $numrsyncwue -gt $numrsyncwuelimit ]
    1615then
    17    echo "INFO already "$numrsyncwue" BackupRawToWue.sh running -> exit. "
     16   printprocesslog "INFO already "$numrsyncwue" BackupRawToWue.sh running -> exit. "
    1817   finish
    1918fi
Note: See TracChangeset for help on using the changeset viewer.