source: ntrip/trunk/BNC/run_valgrind@ 620

Last change on this file since 620 was 620, checked in by mervart, 17 years ago

* empty log message *

  • Property svn:executable set to *
File size: 243 bytes
Line 
1#/bin/bash
2if [ "$1" == "start" ]
3then
4 valgrind --leak-check=full --show-reachable=yes ./bnc -nw 2> valgrind.txt &
5elif [ "$1" == "stop" ]
6then
7 kill -SIGINT `ps | grep memcheck | cut -b 1-6`
8else
9 echo "usage: run_valgrind start|stop"
10fi
Note: See TracBrowser for help on using the repository browser.