LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   nice setting ? (https://www.linuxquestions.org/questions/linux-general-1/nice-setting-52961/)

wr3ck3d 04-01-2003 09:22 PM

nice setting ?
 
How exactly does the nice setting work?? In the man pages it says

Run COMMAND with an adjusted scheduling priority. With no
COMMAND, print the current scheduling priority. ADJUST is
10 by default. Range goes from -20 (highest priority) to
19 (lowest).

So it seems that giving a negative number would make it go faster??

I found this searching the wine forum

Hi to all,

The "nice -n 19" command is working very good.

Wouldn't that actually make it worse???

thanks

log 04-01-2003 09:47 PM

Negative numbers mean that it runs faster, positive means slower. But sometimes you want something to run in the background, so you give it a positive number.

Yer, youre right btw :)

wr3ck3d 04-01-2003 10:39 PM

sorry, i totally forgot to mention what this was for. This is for wineX, trying to improve the games and that quote

Hi to all,

The "nice -n 19" command is working very good.

was actually taken from a wine forum and he was talking about it is helping him in wine.

So i guess that would make it worse and i need to use a negative number but i need to be root. Is there a way that i can set a program to run at a certain negative nice setting but run it as a regular user??

thanks


All times are GMT -5. The time now is 10:28 PM.