Add four-way latency comparison (NFS and CIFS)
[bluesky.git] / microbench / setup / stop-proxy
1 #!/bin/bash
2
3 export BLUESKY_TARGET=s3
4 # Export any environment variables specified on the command line
5 for e in "$@"; do
6     echo "$e" 1>&2
7     if echo "$e" | grep = >/dev/null; then
8         eval "$e"
9         export ${e%=*}
10     fi
11 done
12
13 if [ "$BLUESKY_TARGET" = "native" ]; then
14     /etc/init.d/nfs-kernel-server stop
15 else
16     pkill -INT nfsproxy
17     pkill -TERM atsadc
18 fi