You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
231 B
17 lines
231 B
#!/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}
|