testclient.sh 231 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 #!/bin/sh BS=8192 COUNT=25000 CONCURENT=200 IP="192.168.2.13" pids="" i=0 while [ $i -lt ${CONCURENT} ] do dd if=/dev/zero bs=${BS} count=${COUNT} | nc ${IP} 5678 >/dev/null & pids="${pids} $!" i=$((i + 1)) done wait ${pids}