This patch adds a new config setting no_cpu_nice. With no_cpu_nice=yes (default=no), cpu nice state is excluded from the cpu used. I find this very useful when running reniced long video encoding or distributed computing. This enable me to see the usage of my regular desktop activity.
I have only tested the linux part of the patch. I guess that the BSD is ok, someone should test it.
Doesn't apply cleanly against the FreeBSD code in the 1.8.1 branch. Can you please update and resubmit?
patch for 1.8.1
You can find a new patch for 1.8.1 branch. Please note that I do not have *BSD system so that code is not tested on those systems.