3 # Spawns CPP-inserver-fancy and CPP-inclient executables on a single host.
5 usage
="usage: $0 #client_threads"
18 ######## Enable signal handler.
20 trap 'kill -1 $server_pid; ' 0 1 2 15
24 ######## Start CPP-inserver-fancy and save its pid.
26 .
/CPP-inserver-fancy
> \
27 ${tmp}server.log
2>&1 &
33 ######## Start CPP-inclient.
35 .
/CPP-inclient
-2 -T 100000 -m 69 -t $threads -i 100 > ${tmp}client-
${threads}.log
2>&1