comparison bin/stress.sh @ 768:1b8ea3a0cc9e

stress.sh
author Jeff Hammel <k0scist@gmail.com>
date Thu, 11 Feb 2016 18:29:57 -0800
parents
children
comparison
equal deleted inserted replaced
767:35f8751c0930 768:1b8ea3a0cc9e
1 #!/bin/bash
2
3 # stress test a program
4
5 export I=0
6 while "$@"
7 do
8 echo ${I}
9 I=$((I+1))
10 sleep 5
11 done