Stress testing a command-line application
===

I have a command line perl script that I want to stress test. Basically what I want to do is to run multiple instances of the same script in parallel so that I can figure out at what point our machine becomes unresponsive.

Currently I am doing something like this:

    $ prog > output1.txt 2>err1.txt & \
      prog > output2.txt 2>err2.txt &
      . 
      .
      .
      .

and then I am checking ps to see which instances finished and which didn't. Is there any open-source application available that can automated this process? Preferably with a web-interface?