Can someone recommend a utility to simulate a resource constraint on a Linux system. I need to test performance of the system under stress - both memory and CPU.
I would need something that would allocate an amount of memory, therefore leaving less for the program I am testing.
And also would use up all available CPU.
I am preferring an out of the box utility, instead of writing one myself.