source:
ntrip/trunk/BNC/run_valgrind@
2152
Last change on this file since 2152 was 627, checked in by , 17 years ago | |
---|---|
|
|
File size: 222 bytes |
Rev | Line | |
---|---|---|
[614] | 1 | #/bin/bash |
2 | if [ "$1" == "start" ] | |
3 | then | |
[627] | 4 | valgrind --leak-check=full ./bnc -nw 2> valgrind.txt & |
[614] | 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.