Code: Select all
seq 100000 | xargs -I{} -- sh -c 'command1; command2; command3; . . .'
Example:
Code: Select all
seq 100000 | xargs -I{} -- sh -c 'echo "Loop {}"; ab -n 100000 -c 1000 http://172.16.22.110/'
Code: Select all
seq 100000 | xargs -I{} -- sh -c 'command1; command2; command3; . . .'
Code: Select all
seq 100000 | xargs -I{} -- sh -c 'echo "Loop {}"; ab -n 100000 -c 1000 http://172.16.22.110/'