On Ubuntu server load graphs I see 4 types of CPU consumption: User, System, Nice and Idle.
What does Nice type mean?
cpu-usagelinux
On Ubuntu server load graphs I see 4 types of CPU consumption: User, System, Nice and Idle.
What does Nice type mean?
Best Answer
It is the CPU scheduling priority, higher vales (+19) mean lower priority, and lower values (-20) mean higher priority (inverse relationship).
man 2 getpriority
will give you lots of details. You can set the nice value when launching a process with thenice
command and then change it with therenice
command. Only the superuser (root) can specify a priority increase of a process.