Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 3 down vote accepted

There is not. It's a rolling average.

share|improve this answer
Technically, "the kernel can't actually keep a rolling average". Thanks for the input though. I'll see if anyone else has any ideas before I possibly accept this. – ITS Alaska Jun 21 '13 at 0:40

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.

share|improve this answer
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 posting your answer, you agree to the privacy policy and terms of service.

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