cpulimit icon indicating copy to clipboard operation
cpulimit copied to clipboard

Can cpulimit be used for the simulation of cpu usgae?

Open surabhi-241994 opened this issue 10 years ago • 1 comments

Actually I need to simulate cpu usage for testing purpose. I need varied usage over the fixed span of time for testing one of my program. Like 40% usage for 10 minutes then 60%usage for next 20 minutes then 10% for 5 minutes and so on. And then I need the same cpu usage multiple times for testing performance of my program using different modes. Is it achievable using cpulimit? If yes let me know commands by which I can perform the same.

surabhi-241994 avatar Sep 21 '15 13:09 surabhi-241994

Look here http://blog.scoutapp.com/articles/2014/11/04/restricting-process-cpu-usage-using-nice-cpulimit-and-cgroups

royalterra avatar Dec 05 '15 11:12 royalterra