Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

1234567891011121314151617181920212223242526272829303132333435363738
  1. #!/bin/sh
  2. i=0
  3. LIMIT="10k"
  4. FILE="100"
  5. #trap 'kill_all' SIGINT SIGTERM
  6. while [ "1" == "1" ]
  7. do
  8. for j in $(seq 5)
  9. do
  10. i=`expr $i + 1`
  11. echo "Upload $i"
  12. curl --limit-rate $LIMIT -F pouet=@$FILE http://172.16.10.67/upload.html?X-Progress-ID=$i &
  13. sh client.sh $i &
  14. i=`expr $i + 1`
  15. echo "Upload $i"
  16. curl --limit-rate $LIMIT -F pouet=@$FILE http://172.16.10.67/upload.html?X-Progress-ID=$i &
  17. sh client.sh $i &
  18. i=`expr $i + 1`
  19. echo "Upload $i"
  20. curl --limit-rate $LIMIT -F pouet=@$FILE http://172.16.10.67/upload.html?X-Progress-ID=$i &
  21. sh client.sh $i &
  22. i=`expr $i + 1`
  23. echo "Upload $i"
  24. curl --limit-rate $LIMIT -F pouet=@$FILE http://172.16.10.67/upload.html?X-Progress-ID=$i &
  25. sh client.sh $i &
  26. i=`expr $i + 1`
  27. echo "Upload $i"
  28. curl --limit-rate $LIMIT -F pouet=@$FILE http://172.16.10.67/upload.html?X-Progress-ID=$i &
  29. sh client.sh $i &
  30. i=`expr $i + 1`
  31. echo "Upload $i"
  32. curl --limit-rate $LIMIT -F pouet=@$FILE http://172.16.10.67/upload.html?X-Progress-ID=$i &
  33. sh client.sh $i &
  34. done
  35. wait
  36. done