re-enable munmap().
[minix.git] / commands / swifi / run_t1a
blobefa06655eb8fd9f4803b2e0deb87c90da624a136
1 #!/bin/sh
3 set -x
5 if [ $# -ne 2 ]; then usage; fi
6 type="$1"
7 run="$2"
9 count=1000
11 # Rotate syslog
12 LOGFILE=/var/log/messages
13 mv $LOGFILE $LOGFILE.prev
14 (cd /var/log && : > messages)
15 kill -1 `ps ax | grep syslogd | grep -v grep |
16 sed 's,^[ ]*,,;s,[ ].*,,'`
18 ./run_t1 $count $type `expr $run \* 1000` 2>&1 |
19 tee results/1.$type.$run.out
21 cp $LOGFILE results/1.$type.$run.log