| 
            Last change
 on this file since 3726 was             3034, checked in by mervart, 15 years ago           | 
        
        
          | 
            
           | 
        
        
          
            
              - 
Property                 svn:executable
 set to                 
*
               
             
           | 
        
        
          | 
            File size:
            310 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | #/bin/bash
 | 
|---|
| 2 | if [ "$1" == "start" ]
 | 
|---|
| 3 | then
 | 
|---|
| 4 |   valgrind --num-callers=50 --leak-check=full ./bnc --file bnc_cmb.raw_110221 --staID "FFMJ1" --conf POST.conf --format RTCM_3 2> valgrind.txt &
 | 
|---|
| 5 | elif [ "$1" == "stop" ]
 | 
|---|
| 6 | then
 | 
|---|
| 7 |   kill -SIGINT `ps | grep memcheck | cut -b 1-6`
 | 
|---|
| 8 | else
 | 
|---|
| 9 |   echo "usage: run_valgrind start|stop"
 | 
|---|
| 10 | fi
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.