I'm doing some load testing on a new dedicated web server, and after a certain amount of strain is put on the server I have to wait a minute for the one-minute load average to climb back down so that my testing remains fairly accurate.

Is there any way to set the load averages back to 0, or whatever they are normally at, without rebooting?


There is not. It's a rolling average.


I don't know of any possibility to influence the kernel load counters but if you are willing to do some coding then you can do without them. You could simply read the absolute values from /proc/stat and do your own calculation. Which you can reset whenever you want.

  • or they could force sadc to collect and examine the values in sar -p – Bratchley Jun 21 '13 at 0:19
  • The command/files might be different for my exact flavor. I'll do some research and see if this approach will work though. – ITS Alaska Jun 21 '13 at 0:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.