Linux: How to put a load on system memory?

后端 未结 12 2071
清酒与你
清酒与你 2021-02-10 07:54

I\'m working on a small function, that gives my users a picture of how occupied the CPU is.

I\'m using cat /proc/loadavg, which returns the well known 3 num

12条回答
  •  误落风尘
    2021-02-10 08:16

    Have you considered using prime95?

    I'm not sure if you can limit it to a percentage like that tho...

提交回复
热议问题