This hook measures the amount of CPU time used by background processes. This hook has three distinct functionalities:
PROCDIFF_PROCS="nfsd"
should match nfsd processes. The regular
expression can be useful when your processes have numbers or other minor
variations. The regular expression is a POSIX Extended Regular Expression
(specifically the C library's regcomp
function with the
REG_EXTENDED|REG_NOSUB
arguments is used).
Set PROCDIFF_THRESHOLD to change the amount of CPU time (in milliseconds) that is ignored. By default 10ms (1 quantum on various Linux kernels) is ignored.