Utility that can load the CPU & RAM?
-
Is there a linux utility that I can run that will use X amount of RAM and Y amount of CPU?
Basically I want something to test hypervisor behavior by having VMs consume different amount of resources.
For example:
loadgenerator 30% 2GB
And the fictitious loadgenerator application will now consume 30% of the CPU and 2GB RAM. -
There is a utility called stress for that. I've never used it myself. But here is a guide, should be easy.