Monday, May 13, 2024
19
rated 0 times [  19] [ 0]  / answers: 1 / hits: 22441  / 3 Years ago, thu, july 1, 2021, 12:43:38

I am relatively new to Linux and Ubuntu. I have attached the system monitor to the bar (the upper bar of the screen) and opened the preference to configure this gadget. On the processor tab I see that I can mark the choose 5 colors : user, system, nice, IOwait and idle. I can understand all 4 (I think...) except for "nice". What is this "nice" ? I read this answer and I understand that the superuser can perform tasks with greater priority but , what does it mean if I see it in the system monitor without me running any new nice processes ?


More From » system-monitor

 Answers
6

The nice value for the processor is




the time the CPU has spent running users' processes that have been "niced".




(from man top) A "niced" process is one with a positive nice value. So if the processor's nice value is high, that means it is working with some low priority processes. So this indicator is useful when you see high CPU utilization and you are afraid that this high load will have bad effect on your system:




  • High CPU utilization with high nice value: Nothing to worry, not so important tasks doing their job, important processes will easily get CPU time if they need. This situation is not a real bottleneck.

  • High CPU utilization with low nice value: Something to worry because the CPU is stressed with important processes so these or new processes will have to wait. This situation is a real bottleneck.



I think this nice value is not too important for a simple user, this is more useful in a server environment.


[#27694] Saturday, July 3, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eaderitable

Total Points: 368
Total Questions: 117
Total Answers: 111

Location: Tuvalu
Member since Sat, Feb 11, 2023
1 Year ago
eaderitable questions
Tue, May 24, 22, 07:37, 2 Years ago
Mon, Aug 23, 21, 02:31, 3 Years ago
Thu, Mar 2, 23, 23:23, 1 Year ago
Wed, Apr 6, 22, 13:20, 2 Years ago
Tue, Dec 14, 21, 16:57, 2 Years ago
;