Process Priority

p_nice

User-settable weighting factor (-20, 20)

p_estcpu

Per-process estimated CPU usage

pestcpu=2×load2×load+1×pestcpu+pnice pusrpri=50+pestcpu4+2×pnice

p_slptime

p_estcpu is not updated when the thread is asleep
When the thread becomes runnable again

pestcpu=(2×load2×load+1)pslptime+pnice