Simulate a lack of system resources on a Linux machine

Can anyone recommend a utility to simulate resource limits on a Linux system. I need to check the performance of a live system - both memory and processor.

I need something that would allocate memory, so I would leave less for the program under test.

And will also use all available CPU.

I prefer the utility out of the box, rather than writing it myself.

+3
source share
2 answers

The stress program sounds the way you want it - it is described like this:

- POSIX. CPU, , I/O .

+2
+2

Source: https://habr.com/ru/post/1719898/


All Articles