I want to write a shell script that runs a disk stress program...
the stress program has a command line argument like this:
./stress rs /dev/disk1 /dev/disk2 65536 100 0
The stress program has no exit conditions...
I want to run it for 5 minutes or so and then run a different file
./stress rs /dev/disk1 /dev/disk2 16384 100 0
Is there a way to send a ctrl-c or break when the program is running
or before the program to go in 5 minutes?
I want to run this stress program like 15 times, so sitting at the
term is not an option for 75 minutes.
Any ideas appreciated.