I'm searching for a linux tool to make some "performance tests". I have two (or more versions) of programms wihch do the same. To compare versions with each other I want to run these for a specific time (something between 30s and 5m) and then see their load average in the running system for the whole time (e.g. my programm foo needs in 2min about 30% of the system time). To do this in a comfortable way it would be nice to see the whole average system, because the various versions don't consists of one programm with one ID rather than a collection of programms. So if its possible to have a output into a log file then I can search manually for programms which are interesting.
Do anyone know such a program and can help me how to work with it?