Browsing the web has low priority for me, and so I would like all the processes that deal with it to be low priority, too.
Is this approach a valid one?
- Open a console window with the
nice
command. - Launch the browser from this console.
Will the program launched from this console inherit the niceness of the console itself?
Advertisement
Answer
Will the program launched from this console inherit the niceness of the console itself?
The answer is yes. You can check it nice -n19 xterm
. In the console, start someprocess, then check the nice level using ps -efl | grep someprocess
. The nice level is inherited.