How to stress test server memory and processor?

At work we are in the middle of a server migration and we want to stress test the new server before starting to migrate our data.I was wondering if anyone had any ideas for scripts that will put intense load on the processor and/or memory?It is a linux server running on Red Hat 5 OS and Apache 2.2.1.It doesn't have to push it to it's physical limits, it's just to use as a benchmark to compare to our old server so we can see how much of an improvement the new setup is over the current/old configuration.Ideally it would be a shell or php script since php is what will be installed and what we develop in.
 
Back
Top