Yes, the data retrieved from /proc/stat is indeed a unit of hertz, but, when you take the
total time spent and divide by the amount of time the CPU is idle, you have a percentage
of the CPU's idle time. (exactaly as the ratelimit module does).
The problem is, this percentage is being divided by the number of CPU cores, but it should
not.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/871#issuecomment-263931518