1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb/tests/bench.sh
Andrew Tridgell 16a3a6d0cb added a simple benchmark script
(This used to be ctdb commit 508cca97083bf21bcce3505d0964dd33a8298624)
2007-02-09 12:46:16 +11:00

10 lines
201 B
Bash
Executable File

#!/bin/sh
killall -q ctdb_bench
echo "Trying 2 nodes"
bin/ctdb_bench --nlist nodes.txt --listen 127.0.0.2:9001 $* &
bin/ctdb_bench --nlist nodes.txt --listen 127.0.0.1:9001 $*
killall -q ctdb_bench